Tree Labels

Tree labels are tags that are stored on tree nodes. You can store labels in any table and register the label data source with the tree structure.

When a labeling scheme is used for trees, the selected labels are stored in the tree label entity, and each tree node contains a reference to a tree label in the labeling scheme. The following table lists the three ways in which tree labels are assigned to the tree nodes.

Labeling Scheme

Description

Level

Labels that are automatically assigned based on the data source to which the tree node belongs. A level label points to a specific data source. For example, in a tree that reflects the organizational hierarchy of an enterprise, all division nodes appear on one level and all department nodes on another.

Group

Labels that you can arbitrarily assign to tree nodes.

Depth

Labels that are automatically assigned based on the depth of the tree node within the tree. No manual assignment is performed.

Note: In an unbalanced hierarchy, a level may not be equal to depth.