You may often find that you are only interested in certain nodes of a graph. Other nodes may be of no interest and it is useful, especially in large graphs, to be able to remove their children from the display. You can do this in a number of ways.
To collapse or expand any node in a graph, double-click on it. Thus, double-click on a leaf node to display its children (if it has any), and double-click on a non-leaf node to hide its children.
Figure 5.2 Expanding and collapsing nodes
For instance, in Expanding and collapsing nodes, double-click on A to display B, C and D. Double-click on A once again to hide them. A small arrow is displayed next to any nodes which has any hidden children.
You can also collapse or expand nodes using the popup menu: