You can customize queries to show related elements in
Unified Modeling Language (UML) class diagrams.
To customize a query for showing related elements:
- In the diagram editor, right-click a classifier;
then click .
- In the Show Related Elements in Diagram window,
click Details if the details page is not
already open.
- Under Relationship Types, select
the relationships to show and specify the expansion directions and
levels of depth; then click Save As.
- In the Save As window, type a name
for the new query and click OK.
- Click OK.
Tip: You can overwrite an existing query
by typing the same query name in the Save As window.