datatree.DataTree.width#

property DataTree.width: int#

Number of nodes at this level in the tree.

Includes number of immediate siblings, but also “cousins” in other branches and so-on.

Returns

depth (int)

See also

level, depth