Returns a list representation of the tree structure starting from the given node.
A list of nodes in the tree.
The root node of the tree.
The type of the node that implements the ZTreeNode interface.