# Functor Graphviz.Neato

    module Neato: functor (X : sig

    Graph implementation. Sub-signature of Sig.G.

    type t

    module V: sig .. endmodule E: sig .. endval iter_vertex : (V.t -> unit) -> t -> unitval iter_edges_e : (E.t -> unit) -> t -> unit

    Graph, 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 option
    The 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:

`X`

:

`sig (** Graph implementation. Sub-signature of {!Sig.G}. *) type t module V : sig type t end module E : sig type t val src : t -> V.t val dst : t -> V.t end val iter_vertex : (V.t -> unit) -> t -> unit val iter_edges_e : (E.t -> unit) -> t -> unit (** Graph, vertex and edge attributes. *) val graph_attributes: t -> NeatoAttributes.graph list val default_vertex_attributes: t -> NeatoAttributes.vertex list val vertex_name : V.t -> string val vertex_attributes: V.t -> NeatoAttributes.vertex list val get_subgraph : V.t -> NeatoAttributes.subgraph option (** The 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 -> NeatoAttributes.edge list val edge_attributes: E.t -> NeatoAttributes.edge list end`

    val set_command : string -> unit

Several 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 : Format.formatter -> X.t -> unit

`fprint_graph ppf graph` pretty prints the graph `graph` in the CGL language on the formatter `ppf`.

    val output_graph : Pervasives.out_channel -> X.t -> unit

`output_graph oc graph` pretty prints the graph `graph` in the dot language on the channel `oc`.