type Digraph struct { Title string Subgraphs []Subgraph }
func (d *Digraph) Fprint(w io.Writer)
func (d *Digraph) Print()
func (d *Digraph) String() string
type DotNode struct { Data string Children []*DotNode Attributes map[string]string }
type DotTree struct { Root *DotNode Nodes map[string]*DotNode Attributes map[string]string }
func (t *DotTree) Fprint(w io.Writer)
func (t *DotTree) Print()
type StringTree struct { Data string Children []*StringTree Labels map[string]string }
func (t *StringTree) Fprint(w io.Writer)
func (t *StringTree) Print()
func (t *StringTree) String() string
type Subgraph interface { Print() Fprint(w io.Writer) }