C4-PlantUML
C4-PlantUML copied to clipboard
Show/Hide Container or Click to Expand
Is there an option to expand and collapse container or I am dreaming
- Expand shows all the components
- Collapse hides all the components
Been searching for that and I cant find that anywhere
Not sure if this is what you mean, but as described in the "Hide attributes, methods..." section of the PlantUML Class Diagram manual, the hide
attribute allows hiding elements.
As C4 PlantUML adds "stereotypes" (which look like <<foo>>
) to elements, these can be used to hide elements of a specific type.
The following elements could be hidden:
-
<<boundary>>
-
<<container>>
-
<<person>>
-
<<system>>
-
<<external_person>>
-
<<external_system>>
-
<<external_container>>
(besides using hide rectangle
or hide database
)
To give you an idea, using the Container diagram for Internet Banking System as example.
Going through each element in turn, we get:
hide <<boundary>> |
|
hide <<container>> |
|
hide <<person>> |
|
hide <<external_system>> |
This issue has been automatically marked as stale because it has not had activity in the past 60 days. It will be closed in seven days if no further activity occurs. Thank you for your contributions.