Interface: FirstViewFrame
How a first view frames the diagram: the viewport (screen offset of the diagram's origin and zoom), how the zoom was chosen ('fit': the whole diagram; 'fill-x' / 'fill-y': that axis exactly filled; 'fixed': the readable zoom) and, per axis, whether the diagram is centred (null) or the window starts at that diagram coordinate.
Properties
startX
startX: number | null;
startY
startY: number | null;
viewport
viewport: object;
x
x: number;
y
y: number;
zoom
zoom: number;
zoom
zoom: "fit" | "fill-x" | "fill-y" | "fixed";