UML Style Guide

UML diagram requirements

Use always the UML 2.5 ↱ syntax for UML models and diagrams.

A diagram should always contain:

Rules for better diagrams

Less is more

Large diagrams are often unreadable and information overflow. Focus on main information. To keep your diagram readable and informative use a maximum of A4 or better A5 size.

No Crossings

Avoid that lines crossing each other (too) often.

Orthogonality

Make lines in a diagramm go only horizontal or vertical and try to have only right angles.

Bad orthogonality: Bad orthogonality

Good orthogonality: Good orthogonality

Parents up

Always make sure that the parent elements are higher than the child elements and the arrows point upwards.

Bad hierarchical view: Bad orthogonality

Good hierarchical view: Good orthogonality

Tidy up

Tidy up your diagrams.

See also