Displays a selected method and what it calls and is called by. The selected method is displayed in a different color from all the methods it calls, or is called by. Choose Admin > Show Arglist to view arguments for all of the methods displayed in the call graph.
Double-click a method to see its definition in the Source panel.
Change your view of the graph by selecting nodes in the graph and using the right-mouse-button menu to control the display of nodes or the middle mouse button to move selected nodes around in the graph.
The right-mouse-button menu contains the following options:
Menu Item | Description |
Hide Node | Hides the selected node or nodes in the graph |
Collapse Subgraph | Hides all the nodes below the selected node or nodes |
Show Immediate Children | Displays all the classes or interface types that inherit directly from the selected node or nodes. |
Show Parents | Displays the class and interface type(s) that the selected node or nodes inherit from. |
Menu Item | Description |
Show Arglist | A toggle that allows you to specify whether you want to display the argument list for a method in the Call Graph window. |
Clear | Clears the Call Graph display. |
Save Graph | Displays a Save Graph dialog that allows you to select or type in a filename in which to save the displayed graph. The graph is saved as a PostScript(R) file. |
Close | Closes the Call Graph window. |
Element | Description |
Zoom menu | Provides an option menu that allows you to scale the graph to ranges between 15% and 200% of the normal (100%) size. |
Zoom Out | Provides a wider coverage of the graph are by resetting the scale of the graph to the next available smaller size in the range. |
Zoom In | Provides a detailed look at an area of the graph by resetting the scale of the graph to the next available larger size in the range. |
Pan Graph | Opens the Pan Graph window which displays the entire graph at a reduced scale. Using a movable viewport, you can choose the portion of the graph you want displayed in the Call Graph window. The Admin menu contains these items:
|
Multiple Arcs | Toggles between viewing all relationships between nodes and viewing only a single link between nodes. The button displays multiple arcs between nodes if there are multiple instances of the relationship between the displayed nodes. |
Layout Graph | Redraws the graph, restoring the positions of any nodes that were repositioned. |
Rotate Graph | Toggles between vertical (calling nodes at the top) and horizontal (calling nodes at the left) tree orientation. |
Guide to the Cosmo Code Development Environment
12-96*265