getPathToRoot

fun getPathToRoot(node: StateNode): TreePath(source)

Returns the path from root to node.

Throws an exception if node is not contained in this model.