- 
                Notifications
    You must be signed in to change notification settings 
- Fork 147
Class_structure_diagram
The aim of this automatic diagram is to show how a class is made, what it consists of, what it inherits from and what embarks it.
- 
Class C itself. 
- 
The public attributes of C. 
- 
The classes to which C has an association. 
- 
C’s parent class if this exists. 
- 
The interfaces implemented by C if these exist. 
- 
The classes which have composition or aggregation associations to . 
- 
Class C is positioned in the center of the diagram. 
- 
The classes linked to C through associations leaving from C: - 
are placed to the right of C. 
- 
are viewed in “simple” mode. 
- 
are exactly the same size and are aligned vertically. 
 
- 
- 
The classes linked to C through compositions or aggregations arriving in C: - 
are placed to the left of C. 
- 
are viewed in “simple” mode. 
- 
are exactly the same size and are aligned vertically. 
 
- 
- 
C’s parent classes and interface: - 
are placed above C. 
- 
are viewed in “simple” mode. 
- 
are exactly the same size and are aligned horizontally. 
 
- 
- 
Auto-associations are placed below and to the right of C. 
- 
All associations (other than auto-associations) are represented horizontally by a single straight line (no bends), and are regularly spaced vertically. 
- 
Class C is resized vertically to cover all the associations. 
Note: All elements present in this diagram have a specific associated style.
