Difference between revisions of "Graph"

From BITPlan Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
   Name
 
   Name
 
}
 
}
 +
 
Person "leader 1" -> "n employee" Person
 
Person "leader 1" -> "n employee" Person
 +
</uml>
 +
 
=== Hierarchy as a Tree ===
 
=== Hierarchy as a Tree ===
 
The following example organizational hierachy is a Tree which is a special case of a directed graph.
 
The following example organizational hierachy is a Tree which is a special case of a directed graph.
</uml>
+
 
 
<graphviz>
 
<graphviz>
 
digraph org {
 
digraph org {

Latest revision as of 10:07, 1 February 2019

Example for a directed Graph

Graphs versus Object orientation

Classes and Relations

The following UML diagram shows the description of an organizational hierarchy.

Hierarchy as a Tree

The following example organizational hierachy is a Tree which is a special case of a directed graph.

Links