Module Graph__.DGraphModel

exception DotError of string
class type ['vertex, 'edge, 'cluster] abstract_model = object ... end

Immutable graph model. Layout accessors, iterators and membership functions.

module Make : functor (G : Graph.Graphviz.GraphWithDotAttrs) -> sig ... end

This functor creates a model from a graph

module DotG : Graph.Sig.G with type V.label = Graph.XDot.node_layout and type E.label = Graph.XDot.edge_layout
type cluster = string
type dotg_model = (DotG.vertexDotG.edgecluster) abstract_model
val read_dot : ?⁠cmd:string -> string -> dotg_model

Creates a model from a dot file.

val read_xdot : string -> dotg_model

Creates a model from an xdot file (the layout is not recomputed)