How to prevent duration arrows to overlap ?

0 votes
asked Feb 4 in Question / help by fwolff (120 points)

Hello All,

I added duration in sequence diagram as below but they overlaps each other as centered on arrow.

Is there a way to shift duration to not overlap ?

@startuml
!pragma teoz true

participant p1
participant p2

{t0} p1 -> p2 : action1
{t2} p1 -> p2 : action2
{t1} p1 -> p2 : action1
{t3} p1 -> p2 : action2

{t0} <-> {t1} : 1s
{t2} <-> {t3} : 1s

@enduml

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