Documentation ¶ Index ¶ type Graph func NewGraph() *Graph func (g *Graph) Add(n *Node) func (g *Graph) AddEdge(n1, n2 *Node) func (g *Graph) Iterate(f func(n *Node)) func (g *Graph) Node(obj types.Object) (nodes *Node) func (g *Graph) Traverse(node *Node, f func(n *Node) bool) type ID type Node func (n *Node) AddValue(values ...types.TypeAndValue) func (n *Node) Values() []types.TypeAndValue Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Graph ¶ type Graph struct { // contains filtered or unexported fields } func NewGraph ¶ func NewGraph() *Graph func (*Graph) Add ¶ func (g *Graph) Add(n *Node) func (*Graph) AddEdge ¶ func (g *Graph) AddEdge(n1, n2 *Node) func (*Graph) Iterate ¶ func (g *Graph) Iterate(f func(n *Node)) func (*Graph) Node ¶ func (g *Graph) Node(obj types.Object) (nodes *Node) func (*Graph) Traverse ¶ func (g *Graph) Traverse(node *Node, f func(n *Node) bool) type ID ¶ type ID struct { Name string RecvHash uint32 TypeHash uint32 } type Node ¶ type Node struct { Object types.Object // contains filtered or unexported fields } func (*Node) AddValue ¶ func (n *Node) AddValue(values ...types.TypeAndValue) func (*Node) Values ¶ func (n *Node) Values() []types.TypeAndValue Source Files ¶ View all Source files graph.go Click to show internal directories. Click to hide internal directories.