documentationfor yFiles for HTML 2.6

Usages of Subtree

Method Return Values

getDescendants (INode)in TreeAnalysisResultGets all nodes that are descendants of root, including the edges that connect the descendants.
getSubtree (INode)in TreeAnalysisResultGets all nodes and edges of the sub-tree that has subtreeRoot as root.