1. Overview
  2. Docs

The output signature for the layered layout engine.

type t

A tree

type vertex

A vertex of the tree.

module H : 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.