"hide class" is not working?

0 votes
asked May 22, 2025 in Question / help by Tim

Using PlantUML Editor, I'd expect 'hide class' to show a blank picture?

@startuml
class Dummy1 {
+myMethods()
}

class Dummy2 {
+hiddenMethod()
}

class Dummy3 <<Serializable>> {
String name
}

hide class


@enduml

I'm generating a large amount of puml and I'd like to hide everything (e.g. hide class / hide enum) and then only "turn on" (via 'show') what I want to see.

Am I wrong in my understanding of 'hide class'?

1 Answer

0 votes
answered Jan 16 by Johan
I had a similar issue my workaround was adding a tag to all classes, hide all classes based on the tag and then show the class(es) you actually want to see like

class A $OXO
class B $OXO

hide $OXO

show B
...