Reputation: 1059
I am using plantuml for creating the class diagrams along with arrows and messages on the arrows. It works perfect untill the diagram is huge. In large diagrams where there are multiple arrows and multiple classes, the arrows gets overlapped with each other hiding/overlapping the arrows and messages on it. Is there any property or way to avoid these overlapping? It will be OK even if the diagram size grows. I read about -
overlap = false;
splines = true;
properties here, but I am not sure how to use it with PlantUML or SVG file.
Note : I am creating a SVG file from plantuml using java.
Upvotes: 30
Views: 5673
Reputation: 14630
This is a common problem and because of its complexity, there isn't a single individual fix for it.
There are a few strategies to deal with this problem, that can be combined in different ways to create different results. In no particular order:
[hidden]
helper linesA -[hidden]- B
.left
, right
, up
or down
keywords inside the arrow (or l
, r
, u
, or d
), for instance A -left-> B
.left to right direction
together
keywordrectangle
, etc. if you want a visible boundary)And finally:
Upvotes: 3