Creating topic diagrams of C/C++ elements

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:
  1. In the diagram editor, right-click the C/C++ elements that are the topic context for the new topic diagram.
  2. On the pop-up menu, click Visualize > In Topic Diagram.
  3. In the Topic wizard, on the Topic Diagram Location page, specify the parent folder, type a File name, and click Next.
  4. On the Topic page, select a topic and click Next.
  5. On the Related Visualizer Elements page, expand the C/C++ tree and specify Inherits (Generalization), Associations, Usages, Friend (Permission), Ownership, or Declares (Manifestation).
  6. Select Incoming for parent class relationships or Outgoing for child class relationships.
  7. Select Expand Indefinitely or type in the number of levels to be displayed.
  8. Click Finish.
Note: You can also create topic diagrams from the C/C++ Projects view by right-clicking a C/C++ element and clicking Visualize > Add to New Diagram File > Topic Diagram.

Parent topic: Exploring C/C++ relationships by queries

Related concepts
Topic diagrams

Related tasks
Customizing queries for existing topic diagrams
Exploring entire inheritance hierarchy of C/C++ classes
Exploring associations of C/C++ classes

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.