Documentation
¶
Index ¶
- type Graph
- func (g *Graph[T]) AddChild(parent string, children ...string) error
- func (g *Graph[T]) AddNode(node *Node[T])
- func (g *Graph[T]) Children(id string) []*Node[T]
- func (g *Graph[T]) Get(id string) *Node[T]
- func (g *Graph[T]) Has(nodeId string) bool
- func (g *Graph[T]) Nodes() []*Node[T]
- func (g *Graph[T]) Parents(id string) []*Node[T]
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.