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