Graph
Example for a directed Graph
Graphs versus Object orientation
Classes and Relations
The following UML diagram shows the description of an organizational hierarchy.
Person "leader 1" -> "n employee" Person
Hierarchy as a Tree
The following example organizational hierachy is a Tree which is a special case of a directed graph.