Safe Haskell | Safe-Inferred |
---|
- data Children = Children (Set Label)
- annotChildrenOfGraph :: Graph a -> Graph (a, Children)
- annotChildrenOfNode :: Node a -> Node (a, Children)
- childrenOfNode :: Node a -> Set Label
Documentation
The children of a node are the other nodes this one might branch to.
annotChildrenOfGraph :: Graph a -> Graph (a, Children)Source
Annotate a graph with the children of each node.
annotChildrenOfNode :: Node a -> Node (a, Children)Source
Annotate a node with its children.
childrenOfNode :: Node a -> Set LabelSource
Get the children of a node.