package tree_layout

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

Full implementation. If the operations in TREE are O(1), the layout functions is O(n).

Parameters

module G : TREE

Signature

module H : Stdlib.Hashtbl.S with type key = G.V.t
val layout : distance:(G.V.t -> G.V.t -> float) -> G.t -> G.V.t -> 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.