How to put a note over several participants in sequence diagrams ?

0 votes
asked Nov 27, 2012 in Closed question / help by plantuml (295,000 points)

The following syntax does not work :

@startuml
participant Alice
participant Bob
participant Titi
note over Bob, Alice, Titi
   This is yet another
   example of
   a long note.
end note
@enduml

1 Answer

0 votes
answered Nov 27, 2012 by plantuml (295,000 points)

Instead of using : note over Bob, Alice, Titi

You can use :  note over Alice, Titi

The note will be put over all participants between Alice and Titi:

@startuml
participant Alice
participant Bob
participant Titi
note over Alice, Titi
   This is yet another
   example of
   a long note.
end note
@enduml

...