Placing of Transaction duration in Sequence Diagram

0 votes
asked Mar 31, 2022 in Question / help by sebastian
I'm trying to layout a sequence of messages. I found out I can plot a nice vertical arrow that would show the duration of a specific process

https://plantuml.com/sequence-diagram#77c3940b98127fb8

Is there any way to influence the position of this line?

I would love to have it right of the participants.

Thanks!
commented Apr 4, 2022 by The-Lu (64,340 points)

Hello S.,

See similar request here:

See possible workaround here:

With (not perfect... alignment...):

@startuml
!pragma teoz true
Alice -> Bob : start doing things during duration

{start} Max -[hidden]> Max

Bob -> Max : something
Max -> Bob : something else
Bob -> Alice : finish

{end} Max -[hidden]> Max : dummy
{start} <-> {end} : some time\n(Transaction duration),\n<color:green>on right of participants
@enduml

If that can help,
Regards.

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