type attribute
= [
| `Color of string |
| `Shape of string |
| `Weight of int |
| `Style of string |
| `Label of string |
| `Id of string |
| `Other of string * string |
]
Dot attributes for nodes
val mk_id : ('a, Buffer.t, unit, attribute) Pervasives.format4 ‑> 'a
Using a formatter string, build an ID.
val mk_label : ('a, Buffer.t, unit, attribute) Pervasives.format4 ‑> 'a
Using a formatter string, build a label.
val print_to_file : string ‑> graph ‑> unit
print_to_file filename g
prints g
into a file whose name
is filename
.