Select nodes - ElsaTam/obsidian-extended-graph GitHub Wiki
Node selection
The node selection feature allows you to select multiple nodes simultaneously and perform bulk operations on them, making it easier to organize and manipulate large groups of nodes in your graph.
Selection methods
Rectangle selection
- Hold Shift (configurable in settings) and click-drag with the left mouse button to draw a selection rectangle
- All nodes within the rectangle area will be selected
- The selection rectangle is visually indicated during the drag operation
Command-based selection
Use the available commands to quickly select nodes:
- Select all nodes: Selects every visible node in the current graph view
- Invert selection: Reverses the current selection (selected nodes become unselected, unselected nodes become selected)
As any command, you can bind hotkeys to these commands (for example Ctrl + A
and Ctrl + I
). They will only be triggered in the active graph view.
Operations on selected nodes
Once you have nodes selected, you can perform the following bulk operations:
Drag multiple nodes
- Click and drag any selected node to move all selected nodes together
- Maintains relative positioning between selected nodes during movement
- Useful for repositioning groups of related notes
Pin multiple nodes
- Pin all selected nodes to their current positions simultaneously
- Prevents the selected nodes from moving when the graph is rearranged
- Particularly useful when combined with "Select All" to fix the entire graph layout (don't forget to save your state)
Clearing selection
You can clear the current selection in several ways:
- Click: Click anywhere in the graph
- Press Escape: Use the Escape key to quickly deselect all nodes
- New selection: Creating a new rectangle selection automatically clears the previous selection