The following table lists the key combinations that the ZoomKeyInteractor assigns
by default to zooming actions:
Action | Description | Default key combination |
---|---|---|
zoomIn | Zooms in on an area of the diagram. | Ctrl+Plus (+) |
zoomOut | Zooms out of an area of the diagram. | Ctrl+Minus (-) |
zoomReset | Displays the current area of the diagram with the default zoom factor. | Ctrl+0 |
The default zoom factor is 1.5. You can change it with
the setIncrementFactor method.
You can also use the Ctrl key in combination with the
mouse wheel to zoom in or out of a diagram. See Zooming for
more information.
The following table lists the key combinations that the PanKeyInteractor assigns
by default to panning actions:
Action | Description | Default key combination |
---|---|---|
panLeft | Pans the diagram to the left. | Shift+Left Arrow |
panRight | Pans the diagram to the right. | Shift+Right Arrow |
panUp | Pans the diagram upward. | Shift+Up Arrow |
panDown | Pans the diagram downward. | Shift+Down Arrow |
You can use the Shift key in combination with the left
mouse button to pan a diagram. See Panning for
more information.