Module Graphviz


module Graphviz: sig  end
Interface with GraphViz

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/




Common stuff



Because the neato and dot engines present a lot of common points - in particular in the graph description language, large parts of the code is shared. The 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.



Common attributes


type color = int 
type arrow_style = [ `Dot | `Inv | `Invdot | `Invodot | `None | `Normal | `Odot ] 
module CommonAttributes: sig  end
The CommonAttributes module defines attributes for graphs, vertices and edges that are available in the two engines, dot and neato.


Interface with the dot engine


module DotAttributes: sig  end
The DotAttributes module defines attributes for graphs, nodes and edges that are available in the dot engine.
module Dot: functor (X : sig  end) -> sig  end


The neato engine


module NeatoAttributes: sig  end
The NeatoAttributes module defines attributes for graphs, nodes and edges that are available in the neato engine.
module Neato: functor (X : sig  end) -> sig  end