Documentation
¶
Index ¶
- type Graph
- func (g *Graph) Attributers() (encoding.Attributer, encoding.Attributer, encoding.Attributer)
- func (g *Graph) Attributes() []encoding.Attribute
- func (g *Graph) ExportToDot() (string, error)
- func (g *Graph) NewEdge(from, to graph.Node) graph.Edge
- func (g *Graph) NewNode() *Node
- func (g *Graph) SetAttribute(attr encoding.Attribute) error
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph struct {
*simple.DirectedGraph
// contains filtered or unexported fields
}
func (*Graph) Attributers ¶
func (g *Graph) Attributers() (encoding.Attributer, encoding.Attributer, encoding.Attributer)
func (*Graph) Attributes ¶
func (*Graph) ExportToDot ¶
ExportToDot exports the DAG to Graphviz .dot format.
Click to show internal directories.
Click to hide internal directories.