Two messages on the same level in sequence diagram

0 votes
asked Jul 19, 2018 in Question / help by idbv (120 points)
This code generates two messages, one below the other.

@startuml
A <--> B
B <--> C
@enduml

I want to have both messages at the same level. Something like A <> B <> C.

1 Answer

0 votes
answered Jul 19, 2018 by plantuml (201,140 points)

You can use some teoz features :

@startuml
!pragma teoz true
A <--> B
& B <--> C
@enduml

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuL8iA4fCpqrKA4dDhr8eAIfDvN9KiD7LjLDmub9JS88mdRaSKlDIWAe1

...