Add ability to contol placement of a constraint in a timing diagram

In a timing diagram, when I add a constraint ( <-> ), it is rendered directly above where the signal is at the start of that signal. This can lead to the constraint being rendered directly over the signal and becoming unreadable.

In this example it would be ideal if the constraints were always placed above the value '1': answered Aug 19, 2020 by (265,060 points)
Thanks for the report.

Could you post a simple source diagram that shows the issue ?
commented Oct 4, 2021 by anonymous
is this Problem solved?

@startuml

robust "Web Browser" as WB

WB is Idle

@WB
+100 is LowPower
+100 is Idle
+100 is LowPower
+100 is Idle
+100 is LowPower
+100 is LowPower
+100 is Idle
WB@0 <-> @100 : {50 ms}
WB@300 <-> @400 : {50 ms}
WB@500 <-> @+300 : {50 ms}
@enduml

this text is displayed inside the diagram and not above!
WB@500 <-> @+300 : {50 ms}
commented Oct 4, 2021 by (37,840 points)
edited Oct 4, 2021 by The-Lu

Hello all,

Here is also another example:

@startuml
robust R
@0
R is 0
@1
R is 1
@2
R is 0
@3
R is 1
@5
R is 0
@10
R is 1

R@0 <-> @2 : {A long label}
R@2 <-> @5 : {Another long label}
R@5 <-> @10 : {Another long label}
@enduml Or:

@startuml
robust R
@0
R is 0
@1
R is 1
@2
R is 0
@3
R is 1
@5
R is 0
@10
R is 1

R@0 <-> @3 : {A long label}
R@3 <-> @7 : {Another long label}
R@7 <-> @11 : {Another long label}
@enduml Regards,
Th.

commented Oct 4, 2021 by (37,840 points)

Hello all,

Compare also:

 Binary Robust @startuml binary "Binary" as Bin @Bin 0 is 0 +200 is 1 +100 is 0 @100 <-> @300 : {200 ms} @enduml @startuml robust "Robust" as Bin @Bin 0 is 0 +200 is 1 +100 is 0 @100 <-> @300 : {200 ms} @enduml  Regards,
Th.

commented Oct 5, 2021 by (265,060 points)
Thanks for the report, this is fixed in last release V1.2021.12

Tell us if you find other issues!