Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface for storing the state of the diagram maker workspace

Hierarchy

  • DiagramMakerWorkspace

Index

Properties

canvasSize: Size

Denotes the size of the workspace that the customer can move nodes around in. Every object within the workspace, i.e. nodes, edges, potential nodes stays within these bounds.

position: Position

Denotes the pixel values that the workspace has been translated by on x & y axis

scale: number

Denotes the scale of the workspace, where 1 denotes natural scale. Smaller than 1 denotes that the workspace has been zoomed out. Greater than 1 denotes that the workspace has been zoomed in.

viewContainerSize: Size

Denotes the size of the container diagram maker is rendered in. To update due to window resizing, or panels outside diagram maker shifting content, call the updateContainer API.

Generated using TypeDoc