Usage guidesInteraction

Drag nodes and combos

Drag a node, or drag empty space within a combo to move the entire combo.

Drag a node, or drag empty space within a combo to move the entire combo.

Configuration

Dragging a selected node moves the other selected nodes with it. Change combo membership through the combo API.

Example

Loading example…
Drag a node or the background inside a combo. Shift-click to add to the selection.
behaviors: [
  'zoom-canvas',
  'drag-canvas',
  { type: 'click-select', multiple: true, trigger: 'shift' },
  'drag-node',
],

Options and defaults · Change combo membership