Graphical editor: hotkeys and mouse shortcuts

AnyLogic provides you with a number of hot keys and mouse shortcuts, which you can use to perform actions when working with the graphical editor.

Keyboard shortcuts

Windows Mac OS Description
Ctrl and + Cmd and +

Zoom in the graphical editor.

Ctrl and - Cmd and -

Zoom out the graphical editor.

Ctrl + 0 Cmd + 0

Zoom the graphical editor to 100%.

Ctrl + A Cmd + A

Select all elements in the graphical editor.

Ctrl + X Cmd + X

Cut the currently selected element or elements to the clipboard.

Ctrl + C Cmd + C

Copy the currently selected element or elements to the clipboard.

Ctrl + V Cmd + V

Paste the element or elements from the clipboard.

F2 F2

Rename the element currently selected in the graphical editor.

Del Del

Delete the currently selected element

Arrow keys Arrow keys

Move the selected elements up, down, left, or right, in 10 pixels increments.

Shift + arrow keys Shift + arrow keys

Move the selected elements up, down, left, or right, in 1 pixels increments.

Ctrl + Z Cmd + Z

Undo the previous action.

Ctrl + Y Cmd + Y

Redo the previously undone action.

Mouse shortcuts

There are several modifier keys that you can use to alter the mouse actions when working with the graphical editor:

Windows Mac OS Description
Ctrl + scroll Cmd + scroll

Zoom in or out the diagram.

Alt + click Option + click

Select a single element belonging to a group (or a single markup shape from a complex markup element).

Ctrl + drag Cmd + drag

Create a copy of the current selection.

Alt + drag Option + drag

Move the current selection with snapping to grid temporarily disabled.

Shift + drag Shift + drag

Shift the current selection horizontally or vertically while maintaining vertical or horizontal center alignment.