Order of relationships

0 votes
asked Apr 9 by mnlipp (240 points)

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".

 

1 Answer

0 votes
answered Apr 10 by plantuml (131,770 points)
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,
...