pygly.tree_leaf.
TreeLeaf
Base class for Tree Leaf objects.
Supports a single parent. Cannot have children.
__init__
Creates a tree leaf object.
parent
The current parent of the node or None if there isn’t one.
This is an @property decorated method which allows retrieval and assignment of the scale value.
predecessors
Returns successive parents of the node.
Generator function that allows iteration up the tree.