Automatic layout arrangement – Apple Shake 4 User Manual

Page 245

Advertising
background image

Chapter 7

Using the Node View

245

gridEnabled
Lets you turn grid snapping on and off. This control also toggles the background grid
pattern in the Node View if gridVisible is turned on.

gridVisible
Displays the grid as a graph in the background of the Node View. This graph is only
displayed when gridEnabled is turned on.

layoutTightness
This parameter affects the Layout Arrangement commands in the next section. It lets
you specify how closely nodes should be positioned to one another when they’re
newly created, or whenever you use one of the arrangement commands.

Automatic Layout Arrangement

Shake has several commands to help you automatically arrange nodes in the Node
View. Use these commands with caution—complicated trees with lots of cross-branching
may produce odd results.

When nodes are created or organized using the Node Layout commands, they are
spaced according to the layoutTightness parameter in the guiControls subtree of the
Globals tab. Newly created nodes are spaced this distance from their parents, so a
smaller number creates tighter trees.

To automatically organize a group of nodes:

1

Select one or more nodes.

2

Do one of the following:

Right-click one of the selected nodes, then choose Node Layout > Layout Selected
from the shortcut menu.

Press L.

The selected nodes are automatically rearranged in an organized manner.

To align nodes vertically (on the same X axis):

m

Select one or more nodes and press X.

Advertising