Filtering compartment items in UML diagrams

In UML diagrams, several diagram elements have compartments that display textual and graphical information. You can reduce visual clutter and complexity in diagrams by filtering the contents of these compartments. Filtering hides information based on criteria that you specify.

About this task

You can filter compartment items by visibility or by selecting specific items that you want to hide from view.

To filter compartment items in a UML diagram:

Procedure

  1. In the diagram editor, right-click a diagram element; then click Filters > Sort/Filter Compartment Items.
  2. In the Sort/Filter Compartment Items window, complete one of the following steps:
    • To filter items by visibility, in the list on the left, select All Compartments, Attribute, or Operation. On the right, move the appropriate filter criteria into the Filter Items Containing list.
    • To filter items by selection, in the list on the left, select Attribute or Operation. In the table on the right, select the check boxes for the items that you want to show.
    Note: The changes you make in one set of filter controls will override any changes you make in the other. For example, if you move private visibility from the Filter Criteria list to the Filter Items Containing list, and then select the private check box in the table, the private visibility will move back into the Filter Criteria list.
  3. Click Apply.
  4. Click OK.

What to do next


Feedback