Module CCKTree.Dot

module Dot: sig .. end

type attribute = [ `Color of string
| `Id of string
| `Label of string
| `Other of string * string
| `Shape of string
| `Style of string
| `Weight of int ]
Dot attributes for nodes
type graph = string * attribute list CCKTree.t list 
A dot graph is a name, plus a list of trees labelled with attributes
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 make : name:string -> attribute list CCKTree.t list -> graph
val singleton : name:string -> attribute list CCKTree.t -> graph
val pp_single : string -> attribute list CCKTree.t CCKTree.printer
val pp : graph CCKTree.printer
Printer to DOT with indentation, etc.
Since 0.6.1
val print_to_file : string -> graph -> unit
print_to_file filename g prints g into a file whose name is filename.
Since 0.6.1
val to_file : ?name:string -> string -> attribute list CCKTree.t list -> unit
to_file filename trees makes a graph out of the trees, opens the file filename and prints the graph into the file.
Since 0.6.1
name : name of the graph