Folding
This demo shows how to enable collapsing and expanding of group nodes, the so-called
Folding feature. This is provided through the
FoldingManager class and its support classes.
The GraphEditorInputMode class provides the following interactive
gestures for collapsing and expanding groups:
-
Close (collapse) a selected open group node by pressing Alt +
← or clicking the expand icon in the group's top left corner.
-
Open (expand) a selected closed group node by pressing Alt +
→ or clicking the collapse icon in the node's top left corner.
-
Enter (navigate into) a selected group node by pressing Alt +
↓.
-
Exit (navigate out of) a selected group node by pressing Alt +
↑.
Demos
Documentation