module DGraphModel:sig..end
Abstract graph model
exception DotError of string
class type[['vertex, 'edge, 'cluster]]abstract_model =object..end
Immutable graph model.
module Make:
This functor creates a model from a graph
module DotG:Sig.Gwith type V.label = XDot.node_layout and type E.label = XDot.edge_layout
typecluster =string
typedotg_model =(DotG.vertex, DotG.edge, cluster)
abstract_model
val read_dot : ?cmd:string -> string -> dotg_modelCreates a model from a dot file.
val read_xdot : string -> dotg_modelCreates a model from an xdot file (the layout is not recomputed)