New keyboard shortcuts in draw.io

draw.io 14 Jul 2023

Share:

As new features are added to draw.io and the menu is refined, new keyboard shortcuts are also built into the editor. Here are some of the new and useful shortcuts for diagramming in draw.io.

Move selected shapes and connectors

First, select the shape you want to move, then hold Shift+Alt+drag and drag the cursor to reposition them. You can move shapes, connectors, or multiple selected shapes and connectors this way.
Press Shift+Alt and drag the cursor to move a selected shape, even if your cursor is not over that shape

This shortcut will always move the selected elements, even if they are not currently under the cursor when you drag it.

Note: When you move a connector this way, it will de-attach itself from the source and target shapes, unless they are moved with the connector.

Increase/decrease font size

Select a shape or connector or label, and press Ctrl+Shift +/- (NumPad) to increase or decrease the text size.

This only works with the + and - keys on the number pad.
Press Ctrl+Shift +/- Numpad to increase or decrease the text size of a selected shape or connector label

Alternatively, change the font size in the Text tab of the format panel.

Note: This keyboard shortcut will always change the text size of the entire label, even if you have selected only some text inside a label.

Increase/decrease shape size

Select a shape, and press Ctrl+Shift+arrow key to increase or decrease the right or lower edge of the shape. This increases or decreases the Height or Width of the shape (in the Arrange tab of the format panel).
Press Ctrl+Shift+arrow key to increase or decrease the size of the selected shape

Clear all extra waypoints on a connector

Waypoints are used in connectors to change its path. Sometimes you may want to remove all of them quickly.

Select a connector and press Alt+Shift+R to reset the waypoints back to the default path.
Press Alt+Shift+R to reset the waypoints of a selected connector

More keyboard shortcuts in draw.io

There are many other mouse + keyboard shortcut combinations in draw.io to help you diagram faster, as well as many keyboard shortcuts described in previous posts.

Next time you go through the draw.io menu, or right-click and open the context menu, check and see if there is a keyboard shortcut next to the command you want to use.
There are many keyboard shortcuts available in draw.io

Here’s a one-page reference sheet that you can print out containing the most common and useful keyboard shortcuts in draw.io.

Shortcuts available in the draw.io diagramming apps

Follow us on GitHub, Twitter, Facebook.

Share: