g6/packages/site/docs/apis/behaviors/DragCanvasOptions.en.md

1017 B

title order
DragCanvas 1
drag canvas

dragOnItems

Type: boolean

Default: false

Whether to drag the canvas when dragging the node, edge or combo

secondaryKeyToDisable

Type: string

Default: shift

The key to disable dragging

trigger

Type: 'drag' | 'directionKeys'

Default: drag

The event type that triggers the interaction