You can show or hide compartments in shapes so that only
the compartments that are important to you appear in Unified Modeling
Language (UML) diagrams.
To show or hide compartments, in the diagram
editor, right-click a shape or a group of selected shapes; then
click and click a compartment to
show or remove the check mark.