Using Static Graphs

Customizing Static Graphs

Customizing Static Graphs

The Static Graphs have many options that you can configure. Each graph has an "Options" and a "View" menu that help you customize the graph for your needs. For example, you can turn off the graph legend, or specify default queries to be applied to any new node that is added to the graph. Filters and other customizations are also available. See SoftBench Online Help for full descriptions.

Removing the Graph Legend

The legend provides useful information about the types of nodes and arcs displayed on the graph. To remove the legend and see more of the graph area, turn off the "View: Display Legend" toggle button. The legend disappears from the graph immediately.

Viewing Multiple Graphs

You can view more than one Static Graph simultaneously. For example, you can view the Call Graph and File Graph to see the relationships between functions and files as they are presented in those graphs.

To view multiple Static Graphs:

1.From the main SoftBench Static Analyzer window, choose "Options: Behavior Settings…" which displays the "Behavior Settings" dialog box.

2.Deselect the " Collect Graphs Into A Stack" toggle button. To set this option select OK. A dialog box appears, indicating the change takes effect when the tool restarts. Select OK.

3.To make this option active you need to restart SoftBench Static Analyzer. Choose "File: Exit".

4.Restart SoftBench Static Analyzer.

294

Chapter 10

Page 294
Image 294
HP UX SoftBench Software manual Customizing Static Graphs, Removing the Graph Legend Viewing Multiple Graphs, 294