Skip to content

Leaf

A generic tree node.

Parameters

  • kwargs

    Each provided keyword argument is stored in the leaf as an attribute.

Attributes

  • height

  • n_branches

  • n_leaves

  • n_nodes

Methods

iter_branches
iter_dfs
iter_edges
iter_leaves
walk