Viewport
Interface representing the viewport of the diagram.
Properties
Section titled “Properties”height?
Section titled “height?”
optional
height:number
Height of the viewport
scale:
number
Scale factor of the viewport
width?
Section titled “width?”
optional
width:number
Width of the viewport
x:
number
X coordinate of the viewport center
y:
number
Y coordinate of the viewport center