Hierarchy Manager Example

To help users with understanding how to create and use the HierarchyManager and its support classes: HierarchyNode and Hierarchy we have included an example applications.

The C# example project may be found in the TMCore examples\CS\HierarchyExample directory (no Visual Basic version is supplied). For information about how to use the TMCore examples, refer to the section called “Compiling and Running the Examples”.

The example creates a topic map representing a well-known family and the relationships between them. For simplicity only two associations types are considered: parenthood and siblings. The example then goes on to demonstrate how to create and navigate hierarchies using these family relationships.