You can show diagram elements that are related to the
selected diagram element in a modeling diagram.
For example, if you created a class diagram that
illustrates a parent class and its child classes, you can add the
parent class to a new diagram, and then use the Show Related Elements
feature to add its child classes and generalization relationships
automatically.
Note: To show related diagram elements,
the model elements and relationships must already exist.
To
show related diagram elements:
Open a diagram that contains diagram elements
or association connectors.
In the diagram editor, right-click a diagram element;
then click Filters > Show
Related Elements.
In the Show Related Elements in Diagrams window,
click a Custom Query.
In the Select in Model(s) field,
click a model with related diagram elements and click Details.
In the Relationship Types field,
click the relationships that you want to show.
In the Expansion Direction field,
click the direction of the relationships that you want to show.
In the Stopping List field, click
the conditions for ending the query.
In the Levels field, specify the
number of levels through which to search and click OK.