Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Order of relationships

0 votes

Have a look at this diagram:

class Component {
 + fire(event: Event): void
 + onSomeEvent(): void

class SomeChannel {
 + forward(event: Event): void

Component -[hidden]right-> SomeChannel

Component ..> "0..*" SomeChannel : <<call>>
note right on link: fire event

Component "0..*" <.. SomeChannel : <<call>>
note left on link
event handler
end note


Is it somehow possible to get the arrow from left to right to be rendered top of the arrow from right to left? Of course, class diagrams usually don't reflect tming informations. However, the <<call>> dependecy shows a dependency established by a method call. And because the "fire" happens before the "invoke handler", it would be nice to have a reading order "top to bottom".


asked Apr 9 by mnlipp (240 points)

1 Answer

0 votes

Sorry, we really have little control on this order, as it is generated by GraphViz.

So I don't think we can change this.

answered Apr 10 by plantuml (125,210 points)
Support This Project Offer 250 Mo! Follow PlantUML on Twitter