Start here

# Folding

This step shows how to enable collapsing and expanding of group nodes. This is provided through class FoldingManager and its support classes.

GraphEditorInputMode provides the following default gestures for collapse/expand:

- Press CTRL+Numpad + or click the expand-button on the node's top left corner to open (expand) a closed group node.
- Press CTRL+Numpad - or click the collapse-button on the node's top left corner to close (collapse) an open group node.
- Press CTRL+Return to enter (navigate into) a group node.
- Press CTRL+Backspace to exit (navigate out of) a group node.

See the sources for details.