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
invoke
event handler
end note
 

http://www.plantuml.com/plantuml/png/VS-z2i8m403WFKznTAfAWtCeMOfFu2WEeRdQqFHEqb87yTrjGjKAuXHoFz_TrTuC0rJSNvcGHhWBs47Z0kOupNy5X_Xi54piRCmn7Rd75CrVuOSGTN9YgceD4Vf5ud0pmVx4vgxFtEBKEckHpi5Tsh7GQsfT9wM6R2_bDliQfg0iQ-Ezre9uH4ZAl2juHvrA1q7QOMqjJYdbNyjZywQ4euax5Cc2kS5w30B9GYnz0W00

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
Hi,

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

So I don't think we can change this.

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