neat.STree.order_of_node

STree.order_of_node(node)[source]

Compute the order (number of bifurcations from the root) of a node.

Parameters:

node (neat.SNode)