module DGraphModel: sig
.. end
Abstract graph model
exception DotError of string
class type [['a, 'b, 'c]]
abstract_model = object
.. end
Immutable graph model.
module Make: functor (
G
:
Graph.Graphviz.GraphWithDotAttrs
) ->
sig
.. end
This functor creates a model from a graph
module Vertex: Sig.ANY_TYPE
with type t = XDot.node_layout
module Edge: Sig.ORDERED_TYPE_DFT
with type t = XDot.edge_layout
module DotG: Sig.G
with type t = Graph.Imperative.Digraph.AbstractLabeled(Vertex)(Edge).t
type
cluster = string
type
dotg_model = (DotG.vertex, DotG.edge, cluster)
abstract_model
val read_dot : ?cmd:string -> dot_file:string -> dotg_model
Creates a model from a dot file
val read_xdot : xdot_file:string -> dotg_model
Creates a model from an xdot file (the layout is not recomputed)