sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Instantiates a module which creates graph layouts from xdot files
module G : Graphviz.GraphWithDotAttrs
type graph_layout = {
vertex_layouts : node_layout HV.t;
edge_layouts : edge_layout HE.t;
cluster_layouts : (string, cluster_layout) Hashtbl.t;
bbox : bounding_box;
}
Main layout type
val layout_of_xdot : xdot_file:string -> G.t -> graph_layout
Extracts a layout of an xdot file
val layout_of_dot : ?cmd:string -> dot_file:string -> G.t -> graph_layout
Using the dot file and graphviz, create an xdot and extracts its layout.