Inconsistent positioning of text above/below its link line

0 votes
asked Oct 21, 2021 in Question / help by Igor

Hi,

Why does the following code:

@startuml
rectangle "A" as A {
rectangle "B" as B
rectangle "C" as C
}
rectangle "D" as D {
rectangle "E" as E
}

B <-r-> C: Text 1
C <-r-> E: Text 2
@enduml

produces a diagram where "Text 1" is positioned above the link, but "Text 2" is positioned below the link?

How do I make both link texts appear above their respective link lines?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...