ZernikalossearchtreeAsListtreeAsList fun <T : ZTreeNode<T>> treeAsList(node: T): List<T>(source)Returns a list representation of the tree structure starting from the given node.ReturnA list of nodes in the tree.ParametersnodeThe root node of the tree.TThe type of the node that implements the ZTreeNode interface.