The pan offset of the diagram's viewport, represented as an object with x and y properties. This indicates how much the viewport has been panned from its original position.
The zoom level of the diagram's viewport, represented as a number. This indicates how much the viewport has been zoomed in or out from its original scale. A zoom level of 1 typically represents the original scale, while values greater than 1 indicate zooming in and values less than 1 indicate zooming out.
Defines the structure of a diagram viewport change event, which includes information about the pan and zoom levels of the diagram's viewport. This interface can be used to provide detailed information about changes to the diagram's viewport, allowing for more specific handling of such events, such as updating the display or synchronizing with other components.