findTreeRoot method
Return the Node that is at the root of the tree that this node is in, perhaps this node itself.
This node will be #isInTreeOf the resulting node, unless the resulting node is this node itself. The graph traversal will ignore links for which Link#isTreeLink is false.
If you want to search up the containment hierarchy of Groups, use Part#findTopLevelPart. @return {Node} If this Node has no "tree parent", this returns itself. @see Diagram#isTreePathToChildren @see #findTreeParentChain @since 1.2
Implementation
_i3.Node findTreeRoot() => _i4.callMethod(
this,
'findTreeRoot',
[],
);