module Graphviz:Interface with GraphVizsig
..end
This module provides a basic interface with dot and neato, two programs of the GraphViz toolbox. These tools are available at the following URLs:
http://www.graphviz.org/
http://www.research.att.com/sw/tools/graphviz/
CommonAttributes
module defines
attributes of graphs, vertices and edges that are understood by the
two engines. Then module DotAttributes
and NeatoAttributes
define attributes specific to dot and neato respectively.typecolor =
int
typearrow_style =
[ `Dot | `Inv | `Invdot | `Invodot | `None | `Normal | `Odot ]
module CommonAttributes:sig
..end
CommonAttributes
module defines attributes for graphs,
vertices and edges that are available in the two engines, dot and neato.
module DotAttributes:sig
..end
DotAttributes
module defines attributes for graphs, nodes and edges
that are available in the dot engine.
module Dot:functor (
X
:
sig
typet
module V:sig
..end
module E:sig
..end
val iter_vertex :(V.t -> unit) -> t -> unit
val iter_edges_e :(E.t -> unit) -> t -> unit
val graph_attributes :t -> Graphviz.DotAttributes.graph list
val default_vertex_attributes :t -> Graphviz.DotAttributes.vertex list
val vertex_name :V.t -> string
val vertex_attributes :V.t -> Graphviz.DotAttributes.vertex list
val default_edge_attributes :t -> Graphviz.DotAttributes.edge list
val edge_attributes :E.t -> Graphviz.DotAttributes.edge list
end
) ->
sig
..end
module NeatoAttributes:sig
..end
NeatoAttributes
module defines attributes for graphs, nodes and edges
that are available in the neato engine.
module Neato:functor (
X
:
sig
typet
module V:sig
..end
module E:sig
..end
val iter_vertex :(V.t -> unit) -> t -> unit
val iter_edges_e :(E.t -> unit) -> t -> unit
val graph_attributes :t -> Graphviz.NeatoAttributes.graph list
val default_vertex_attributes :t -> Graphviz.NeatoAttributes.vertex list
val vertex_name :V.t -> string
val vertex_attributes :V.t -> Graphviz.NeatoAttributes.vertex list
val default_edge_attributes :t -> Graphviz.NeatoAttributes.edge list
val edge_attributes :E.t -> Graphviz.NeatoAttributes.edge list
end
) ->
sig
..end