Usage guidesInteraction

Lasso select

Trace a freehand outline to select nodes whose centers fall inside it.

Trace a freehand outline to select nodes whose centers fall inside it.

Configuration

With key: 'ctrl', hold Ctrl or Command and drag from empty space to circle nodes.

Example

Loading example…
Hold Ctrl or Command and draw around the nodes.
const behaviors: BehaviorOption[] = ['drag-canvas', { type: 'lasso-select', key: 'ctrl' }];

Options and defaults