public static function getDescendants(hierarchy:INodeHierarchy, root:INode):Iterable
Returns all descendants of the provided item that are part of the hierarchy.
The enumeration will be top down, i.e. all of an item's ancestors will
be enumerated before the respective item.
Parameters
| hierarchy:INodeHierarchy — The hierarchy itself.
|
|
| root:INode — The root item to get the descendants from.
|
Returns | Iterable — An enumeration of the children of the item at the time of this invokation in reverse dfs prefix order.
|