SuperNode.to_list#

SuperNode.to_list(attr=None)[source]#

This method will convert the tree to a list of nodes names. Each row in the list is a path from the current node to a leaf.

Returns:

arr – List of rows. Each row consists of nodes names.

Return type:

list