No crossings

Knut Jetlund edited this page Jan 19, 2015 · 4 revisions

Back to diagram design


This page is inspired by rule two in Geert Bellkeens' blog post 5 rules for better UML diagrams.

Diagrams with crossing lines are difficult to read. Therefore, no lines in a diagram should cross each other. If this is not possible, try splitting the diagram into several smaller diagrams, and also evaluate if all relationships are correct and have to be viewed in the current diagram. Remember that each diagram shall focus on a few elements, and have a defined perspective.

In the first figure bellow, there are several mistakes: crossing lines, and the unnecessary element DQ_Element. The purpose of the figure is to show evaluation methods, and the relation to DQ_Element is not relevant for this purpose. By removing DQ_Element and moving DQ_AggregationDerivation up, we get a tidy and more readable diagram

Wrong: Crossing lines


Correct: No crossings

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.