Skip to main content

Crate sorbus

Crate sorbus 

Source
Expand description

This crate implements a tree data structure.

A tree is a directed acyclic graph of nodes, all of them carrying an optional payload, as well as an optional annotation to the edge linking them to their parent.

Internally, nodes are stored in a vec, and the topology of the tree

Each node in the tree may contain an arbitratry number of children.

Modules§

errors
render

Structs§

Node
A node in the tree. A Node can carry a Payload, and can annotate the branch to its parent with an Edge.
NodeHandle
Tree