You can use topic diagrams to create dynamic views of
relationships between C/C++ elements based on queries (topic context).
To create a topic diagram of C/C++ elements:
- In the diagram editor, right-click the C/C++ elements
that are the topic context for the new topic diagram.
- On the pop-up menu, click .
- In the Topic wizard, on the Topic
Diagram Location page, specify the parent folder, type
a File name, and click Next.
- On the Topic page, select a topic
and click Next.
- On the Related Visualizer Elements page,
expand the C/C++ tree and specify Inherits (Generalization), Associations,
Usages, Friend (Permission), Ownership,
or Declares (Manifestation).
- Select Incoming for parent class
relationships or Outgoing for child class
relationships.
- Select Expand Indefinitely or
type in the number of levels to be displayed.
- Click Finish.
Note: You can also create topic diagrams
from the C/C++ Projects view by right-clicking
a C/C++ element and clicking .