Skip to main content

Type Alias: CanvasWidgetAttachment

CanvasWidgetAttachment = "viewport" | "overElements" | "overLinks"

Defined in: diagram/canvasApi.ts:563

Canvas widget layer to render widget:

  • viewport - topmost layer, uses client (viewport) coordinates and does not scale or scroll with the diagram;
  • overElements - displayed over both elements and links, uses paper coordinates, scales and scrolls with the diagram;
  • overLinks - displayed under elements but over links, uses paper coordinates, scales and scrolls with the diagram.