Sequence diagram: Note over all

0 votes
asked Jun 16, 2019 in Wanted features by noamtm (140 points)
At times (and in some diagrams, quite commonly) I want to put a note over all participants. This is done by using `note over A, B, C`, making sure to include all participants on the list (or, at least the first and last one...).

I suggest the following new syntax that will do the same:

`note across`

This will paint a note over all participants, as if all of them were on the list. Alternative to `across` might be `over-all`.

Thank you for an awesome tool!

Noam.

1 Answer

0 votes
answered Jun 17, 2019 by plantuml (294,960 points)

Thanks for the suggestion, this is a good idea!

So with last beta http://beta.plantuml.net/plantuml.jar you can now have :

@startuml
alice->bob:v1
bob->charlie:v2
note accross: foo
@enduml

Is this what you were looking for ?

This has not been fully tested, so tell us if you find some issues!

commented Jul 1, 2019 by Thomas
Now accross is used but is it the correct spelling or is it across?
commented Jul 1, 2019 by plantuml (294,960 points)
You're right, the correct spelling is 'across'

This is fixed in last beta http://beta.plantuml.net/plantuml.jar

Thanks for pointing this out!
...