How can I put notes at the same row/rank in a sequence diagram?

0 votes
asked Apr 26 in Question / help by cvoltz (120 points)

I am creating a sequence diagram and I want to add some notes but every note I add is placed on its own row (or rank as Graphviz calls it) when the notes could easily be placed on the same row. This results in the diagrams being unnecessarily large vertically. The same problem exists with placing a note on the same row as a message. Is there some way to get multiple notes on the same line or to specify the position vertically?  Here is a minimal example which demonstrates the problem:

@startuml
skinparam participantpadding 60
participant 0
participant 1
participant 2
participant 3
note over of 1: Lorem ipsum\ndolor sitamet.
note over of 2: Curabitur dapibus\nvelit velit,sit.
0 -> 1
1 -> 2
note left of 3: Aliquam ut dui\naugue. Mauris.
2 -> 3
@enduml

Ideally, the first 2 notes would be on the same row and the 3rd note would be in the same row as the message from 1 to 2.

1 Answer

0 votes
answered Apr 29 by Serge Wenger Work (11,680 points)
selected Apr 30 by cvoltz
commented Apr 30 by cvoltz (120 points)
That did what I needed. Thanks.
...