package tree_layout

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

The output signature for the layered layout engine.

type t

A tree

type vertex

A vertex of the tree.

module H : Stdlib.Hashtbl.S with type key = vertex
val layout : distance:(vertex -> vertex -> float) -> t -> vertex -> Common.pos H.t

Same as Tree_layout.Layered.layout, but with the specified implementation.

  • returns

    An Hashtable which contains one binding per accessible vertex in g.