module Dot: sig
.. end
type
attribute = [ `Color of string
| `Label of string
| `Other of string * string
| `Shape of string
| `Style of string
| `Weight of int ]
Dot attribute
type
vertex_state
Hidden state associated to a vertex
val pp : ?tbl:('v, vertex_state) CCGraph.table ->
?eq:('v -> 'v -> bool) ->
?attrs_v:('v -> attribute list) ->
?attrs_e:('e -> attribute list) ->
?name:string -> graph:('v, 'e) CCGraph.t -> Format.formatter -> 'v -> unit
Print the graph, starting from given vertex, on the formatter
attrs_v
: attributes for vertices
attrs_e
: attributes for edges
name
: name of the graph
val pp_seq : ?tbl:('v, vertex_state) CCGraph.table ->
?eq:('v -> 'v -> bool) ->
?attrs_v:('v -> attribute list) ->
?attrs_e:('e -> attribute list) ->
?name:string ->
graph:('v, 'e) CCGraph.t -> Format.formatter -> 'v CCGraph.sequence -> unit
val with_out : string -> (Format.formatter -> 'a) -> 'a
Shortcut to open a file and write to it