getNodesAtLevel: Get all the nodes at a specified level in the tree

Description Usage Arguments

Description

Given a tree and a desired level, returns all nodes at the specified level. This is useful for interface building purposes but not a normal tree traversal operation.

Usage

1
getNodesAtLevel(tree, level)

Arguments

tree

the tree you want to get data from

level

the level of the tree you want to get


cwhd/hdp-r documentation built on May 9, 2019, 4:57 a.m.