5 Manipulating Graphs

5.3 Expanding and collapsing graphs

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 Figure 5.2, double-click on A to display B, C and D. Double-click on A once again to hide them.

You can also collapse or expand several nodes at once as follows:

Choose Graph Layout > Expand Nodes to expand all the selected nodes in the graph.

Choose Graph Layout > Collapse Nodes to collapse all the selected nodes in a graph.


Common LispWorks User Guide, Liquid Common Lisp Version 5.0 - 18 OCT 1996

Generated with Harlequin WebMaker