Module CCKTree.Dot
type attribute=[|`Color of string|`Shape of string|`Weight of int|`Style of string|`Label of string|`Id of stringUnique ID in the graph. Allows sharing.
|`Other of string * string]Dot attributes for nodes
type graph= string * attribute list t listA dot graph is a name, plus a list of trees labelled with attributes
val mk_id : ('a, Stdlib.Buffer.t, unit, attribute) Stdlib.format4 -> 'aUsing a formatter string, build an ID.
val mk_label : ('a, Stdlib.Buffer.t, unit, attribute) Stdlib.format4 -> 'aUsing a formatter string, build a label.
val make : name:string -> attribute list t list -> graphval singleton : name:string -> attribute list t -> graphval pp_single : string -> attribute list t printerval pp : graph printerPrinter to DOT with indentation, etc.
- since
 - 0.6.1
 
val print_to_file : string -> graph -> unitprint_to_file filename gprintsginto a file whose name isfilename.- since
 - 0.6.1