Tree Node

Tree Leaf

class pygly.tree_leaf.TreeLeaf[source]

Base class for Tree Leaf objects.

Supports a single parent. Cannot have children.


Creates a tree leaf object.


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.


Returns successive parents of the node.

Generator function that allows iteration up the tree.