Scrolling shows a different part of the control flow
graph in the control flow graph window area.
You can scroll mechanically, using the scroll bars or the area
box, or you can scroll by selecting an option.
Scrolling mechanically - On the Control Flow Graph window, click and drag the horizontal
scroll bar or the vertical scroll bar, or
- On the Control Flow Graph window, right-click the point
you want to move, drag the mouse pointer to the new position, and
release the mouse button, or
- On the Overview window, click on the area box and drag
it to a new position.
Scrolling by option - Right-click an arc, and from the pop-up menu click Scroll to
Source to select the node that is at the tail of the arc, or click Scroll to Target to select the node that is at the head of the
arc. The control flow graph scrolls so that the selected node is in
the window area.
Alternatively, double-clicking the arc is the
same as clicking Scroll to Target, and right-double-clicking
the arc is the same as clicking Scroll to Source.
Alternatively,
if an arc is selected, on the Control Flow Graph window Selected menu click Scroll to Target or Scroll to Source.
- Right-click a node, and from the pop-up menu, click Center
On. The control flow graph scrolls so that the selected node is
in the center of the window area. Alternatively, if a node is selected,
on the Control Flow Graph window Selected menu click Center On.
When you zoom in on a node it is centered.
When you click on lines of source code, the control flow graph
is scrolled until the selected node is displayed in the control flow
graph window area. See The interaction between source code and the control flow graph for
more information.
See also Working with the control flow graph