Skip to main content

Type Alias: CanvasPointerMode

CanvasPointerMode = "panning" | "selection"

Defined in: diagram/canvasApi.ts:423

Action on moving pointer with pressed main button:

  • panning - pans the viewport over canvas;
  • selection - starts selection of the cells on canvas.

This mode may be changed to another while Shift button is being held (this should be implemented separately when the property value is used in other components).