C and C++ SoftBench User's Guide

Using Static Graphs
Making Graphical Static Queries
Chapter 10286
Making Graphical Static Queries
This section covers the common features of these graphs. For more
information on using generic SoftBench Graph Window features, see
Appendix A, “Using SoftBench Graph Windows,” on page 323.
General Static Graph Features
The Static Graphs have a consistent user interface, with several common
features:
Feature Description
Displaying Nodes Display nodes (files, functions,
variables, classes) on each of the
graphs. This can be done by entering
an identifier in the "Symbol ()" input
box and selecting Display, or by
choosing the "All item" option under
the "Graph" menu or on the root
popup menu.
When you enter an identifier into the
"Symbol ()" input box, Static Graph
cannot determine any scoping
information. If you want to refer to a
specific instance of the identifier,
select it in a textual Static query
result. Choose "Graph: graph type
Display Symbol ( )" from the main
SoftBench Static Analyzer window.
Context-Sensitive Queries Different queries are available for
each node type on each graph. For
example, a file node has file-related
queries on the File Graph and
function-related queries on the Call
Graph.
Popup Menus The graph popup menus provide
query actions that are specific to the
node or arc type selected. Select a
node or arc with the left mouse