Diagramming Conventions
 

Recursive Relationships

Some classes can be associated with classes of the same type to create a hierarchy. For example, a SERVICE PROVIDED can comprise of one or more services grouped together. This assocation between the higher level class and its lower level subdivisions is indicated by a square line in the top right hand corner of the class.

An example of a recursive relationship in diagrams is given below:

UML Diagramming Convention showing the Class of  SERVICE PROVIDED. This Class is shown as having a Relatiohsip to itself: