Hide unused participants in sequence diagrams

0 votes
asked Mar 2, 2016 in Wanted features by naresh_pallam (180 points)
Hi

Is there a way to hide unused participans in sequence diagram ?

Example:

participant A
participant B
participant C

A--> B: hallo

In above example I don't want empty C block in  the sequence diagram.

1 Answer

+2 votes
answered Mar 4, 2016 by plantuml (294,960 points)

It's note very documented, but you can have:

@startuml
hide unlinked
participant Alice
participant Bob
participant Other
Alice -> Bob : hello
@enduml

Is this what you are looking for ?

commented Mar 5, 2016 by naresh_pallam (180 points)
Thanks . This is what i'm looking for.
commented Jun 8, 2017 by anonymous
Can I focus view on several Participant and hide others ?
It takes us easily for certian participant to check thery own sequence and messages.
commented Dec 4, 2021 by emalware (280 points)
does not work when there is multiple pages
commented Dec 4, 2021 by The-Lu (63,920 points)
...