module Neato:functor (X:sigGraph implementation. Sub-signature of
Sig.G.typetmodule V:sig..endmodule E:sig..endval iter_vertex :(V.t -> unit) -> t -> unitval iter_edges_e :(E.t -> unit) -> t -> unitGraph, vertex and edge attributes.
val graph_attributes :t -> Graphviz.NeatoAttributes.graph listval default_vertex_attributes :t -> Graphviz.NeatoAttributes.vertex listval vertex_name :V.t -> stringval vertex_attributes :V.t -> Graphviz.NeatoAttributes.vertex listval get_subgraph :V.t -> Graphviz.NeatoAttributes.subgraph optionThe box (if exists) which the vertex belongs to. Boxes with same names are not distinguished and so they should have the same attributes.
val default_edge_attributes :t -> Graphviz.NeatoAttributes.edge listval edge_attributes :E.t -> Graphviz.NeatoAttributes.edge listend) ->sig..end
| Parameters: |
|
val set_command : string -> unitSeveral functions provided by this module run the external program
neato. By default, this command is supposed to be in the default
path and is invoked by neato. The function
set_command allows to set an alternative path at run time.
exception Error of string
val handle_error : ('a -> 'b) -> 'a -> 'b
val fprint_graph : Stdlib.Format.formatter -> X.t -> unitfprint_graph ppf graph pretty prints the graph graph in
the CGL language on the formatter ppf.
val output_graph : Stdlib.out_channel -> X.t -> unitoutput_graph oc graph pretty prints the graph graph in the dot
language on the channel oc.