Customizing queries for showing related elements

You can customize queries to show related elements in Unified Modeling Language (UML) class diagrams.

To customize a query for showing related elements:
  1. In the diagram editor, right-click a classifier; then click Filters > Show Related Elements.
  2. In the Show Related Elements in Diagram window, click Details if the details page is not already open.
  3. Under Relationship Types, select the relationships to show and specify the expansion directions and levels of depth; then click Save As.
  4. In the Save As window, type a name for the new query and click OK.
  5. Click OK.
Tip: You can overwrite an existing query by typing the same query name in the Save As window.
Related concepts
Association relationships
Dependency relationships
Extends relationships
Implements relationships
Owned element association relationships
Related tasks
Populating UML class diagrams with Java elements
Populating class diagrams with Java elements based on type
Showing related Java elements
Showing related Java elements based on outgoing relationships
Showing related Java elements based on incoming relationships
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.