Skip to content

Viewport

Interface representing the viewport of the diagram.

optional height: number

Height of the viewport


scale: number

Scale factor of the viewport


optional width: number

Width of the viewport


x: number

X coordinate of the viewport center


y: number

Y coordinate of the viewport center