Skip to main content

Module actions

Module actions 

Source

Structs§

Activate
Same as double-click: activate a node, or expand / collapse a group.
ClearSelection
Clear the selection.
FitView
Fit the whole graph into view.
OpenContextMenu
Emit a context-menu event for the selection, as a right-click would.
SelectDown
SelectLeft
Move the selection to the nearest item on the left.
SelectRight
SelectUp
ZoomIn
Zoom in around the viewport center.
ZoomOut
Zoom out around the viewport center.

Constants§

KEY_CONTEXT
Key context set on a focused NetworkGraph.

Functions§

init
Register the default key bindings. Call once at startup, after gpui_base::init.