hide unlinked seems to have no effect

+2 votes
asked Mar 22, 2017 in To be sorted by stephan (270 points)

While I am able to hide stereotypes or individual objects, the "hide unlinked" command does not seem to work currently

@startuml
hide unlinked
(A)
[B]
@enduml
 
The above example renderes both A and B
Any help is highly appreciated!
commented Jan 29, 2018 by Anthony-Gaudino (5,720 points)
I think it only works on sequence diagram by now.
commented Sep 28, 2018 by aleikro221376 (120 points)
It would be very helpful if it would work on all kinds of diagrams. So diagrams consisting of more than one file would be more tidy.

1 Answer

0 votes
answered Jun 8, 2021 by The-Lu (48,920 points)

Hello All,

To answer to a very old question, from V1.2020.6 (5 Apr, 2020) and:

We can now use 'hide' or 'remove' '@unlinked':

hide @unlinked

as:

@startuml
hide @unlinked
(A)
[B]
(C) -> [D]
@enduml

See also similar old request here:

Then the documentation is also updated:

If that can help,
Regards,
Th.

...