Subsequent messages at the same height

0 votes
asked Jul 14 in Wanted features by tilburgr (180 points)
I did not see the feature yet to draw 2 messages behind each other such that:

A->B: Message xxx

B->C: Message xxx

when participant A,B,C are positioned left to right

that Message xxx is drawn at the same height.  Otherwise we have "vertical space-consumption".

Is it possible to have an option to get these 2 messages at the same height.

Eg: via the following text.

A->B->C: Message xxx

1 Answer

0 votes
answered Jul 14 by tilburgr (180 points)
After some further searching - it seems my request is equivalent to the "parallel message" feature. so it is possible; see  https://plantuml.com/teoz

example below

@startuml
!pragma teoz true
Alice -> Bob : hello
& Bob -> Charlie : hi
@enduml

it seems to work fine for my sequence diagram!!!
commented Jul 14 by The-Lu (48,920 points)

Yes it is...

@startuml
!pragma teoz true
A->B: Message xxx
& B->C: Message xxx
@enduml

commented Jul 14 by tilburgr (180 points)
Thanks The-Lu
...