Hide unlinked for multiple pages in sequence diagram

+1 vote
asked Jul 31, 2018 in Wanted features by preetika (200 points)
edited Aug 1, 2018 by preetika

Hi,

I am writing a sequence diagram that expands to 12 pages. I want to use "hide unlinked" on each page so that the participants not used in a page are hidden. But they might be used in page 2 and so on.

Just writing hide unlinked on each page does not work. Please can someone suggest an elegant solution to this.
For example: 
The following piece of code spawns c and d in first page even when they are not used. It spawns a and b in 2nd page where we have interactions only between c and d.

@startuml

participant a
participant b
participant c
participant d
participant e
participant f
participant g
hide unlinked
a->b: Hi A
b -> a :Hello B
newpage
hide unlinked
d->c: Are you there
c -> d : Hi D
@enduml

Thanks,
Preetika

3 Answers

0 votes
answered Jan 13, 2020 by Nick F
I am also looking for a solution to this. Hope it can be stated if this is possible or not.
0 votes
answered Sep 7, 2022 by anonymous

Hello any progress in this issue? I need the same option "hide unlinked" per every page.

0 votes
answered Jan 23, 2023 by LeandroP
You can achieve that manually, by adding those to a box and re-declaring that box each page without the participants you want to remove
...