Mastering Keyboard Shortcuts in draw.io

draw.io editor with two flowcharts; the “Device doesn’t work” box is selected and highlighted with a red rectangle and arrow.

When I want to create diagrams faster, I use keyboard shortcuts in draw.io. They help me edit, move, format, and manage elements with less effort. In this guide, I show how shortcuts can speed up your workflow. As a result, you can build flowcharts and diagrams more efficiently.

How I Open Keyboard Shortcuts in draw.io

I open the shortcut reference directly from the draw.io editor. First, I select Help in the main menu. Then, I select Keyboard Shortcuts.

This gives me direct access to the complete shortcut reference.

draw.io editor with the Help menu open and Keyboard Shortcuts highlighted.
Opening the Keyboard Shortcuts reference from the Help menu in draw.io.

The reference opens as an overview with several categories. These categories separate shortcuts by function. Therefore, I can quickly find the commands I need.

draw.io keyboard shortcuts overview with categories for labels, selection, tools, cursor and page keys, canvas, view, library and connect, document, and styles.
Complete overview of the keyboard shortcut categories in draw.io.

On macOS, I generally use Command instead of Ctrl and Option instead of Alt. However, some combinations can depend on the browser, operating system, and draw.io version.

Labels

Label shortcuts help me create and edit text without interrupting my workflow.

ShortcutAction
Double-clickInsert text or add an edge label
Shift+EnterAdd a new line in a formatted label
Enter / TabAdd a line break, tab, or indent
Enter / F2Start editing the selected label
Ctrl+Enter / Shift+Tab / F2 / EscStop editing
Ctrl+B / IToggle bold or italic formatting
Ctrl+UToggle underline
Ctrl+. / ,Apply superscript or subscript

I use Enter or F2 frequently because they let me move from selection to text editing immediately.

Selection

Selection becomes more important when diagrams contain overlapping objects, groups, containers, or many connectors.

ShortcutAction
Tab / Shift+TabSelect the next or previous element
Alt+Shift+P / Alt+TabSelect the parent
Alt+Shift+X / C / SSelect children or siblings
Alt+DragStart a selection or select intersecting elements
Ctrl+A / Ctrl+Shift+ASelect all or select none
Ctrl+Shift+I / ESelect vertices or edges
Ctrl / Shift+Select / DragToggle selection
Alt+ClickSelect the cell below

Alt+Click is especially useful when several elements overlap.

Instead of moving objects temporarily, I can select the element underneath them.

Tools

Several shortcuts open important editor panels and functions directly.

ShortcutAction
Ctrl+Shift+LToggle Layers
Ctrl+Shift+OToggle Outline
Ctrl+Shift+PToggle Format
Ctrl+Shift+KToggle Shapes
Ctrl+KToggle Tags
Ctrl+Shift+MEdit vertex geometry
Ctrl+MEdit metadata
Ctrl+FFind and Replace

These commands become particularly useful in larger diagrams. For example, I can manage layers, inspect metadata, or edit geometry without searching through menus.

Tool shortcuts give me faster access to structural editing functions, not only basic drawing commands.

Cursor and Page Keys

The cursor keys can do much more than move around the page. Modifier keys turn them into precise editing controls.

ShortcutAction
Cursor keysScroll or move a selected cell
Shift+CursorMove a cell by grid increments or move the page
Ctrl+CursorResize a cell or select a page
Ctrl+Shift+CursorResize a cell by grid size
Alt+Shift+CursorClone and connect
Alt+CursorScroll the page
Ctrl+Shift+Page UpGo to the previous page
Ctrl+Shift+Page DownGo to the next page

I use these shortcuts when dragging with the mouse would be too imprecise. As a result, I can make small adjustments without disturbing the surrounding layout.

Canvas

Canvas shortcuts cover many of the actions I repeat most often.

ShortcutAction
Ctrl+X / C / Ctrl+Alt+XCut, copy, or copy as image
Ctrl+V / Ctrl+Shift+VPaste or paste unformatted text
Ctrl+GGroup
Ctrl+Shift+UUngroup
Ctrl+L / Alt+Shift+LLock, unlock, or edit a link
Ctrl+Enter / DDuplicate
Backspace / DeleteDelete selected cells
Ctrl / Shift+DeleteDelete with connections or labels
Ctrl+RRotate 90 degrees clockwise
Shift+ResizeMaintain proportions
Ctrl+ResizeResize from the center
Ctrl+HomeCollapse a container
Ctrl+EndExpand a container
Ctrl+Shift+End / HomeEnter or exit a group
Alt+Ctrl+Shift+F / BBring forward or send backward
Ctrl+Shift+F / BBring to front or send to back
Alt+Shift+F / V / B / ECopy or paste size and data
Alt+Shift+R / TClear waypoints or edit a tooltip
Ctrl+Shift+YAutosize
Ctrl / Shift+DragClone, swap, or constrain

Grouping and duplication save me a significant amount of time when I create repeated structures. In addition, ordering commands help me control overlapping objects.

Autosize is also useful. If a label becomes larger than its shape, I can resize the element automatically instead of adjusting it manually.

View

Large diagrams require efficient navigation. Therefore, I use view shortcuts to zoom, scroll, and reposition the canvas.

ShortcutAction
Alt+WheelZoom in or out
Ctrl+Shift+WheelZoom in or out
WheelScroll vertically
Shift+WheelScroll horizontally
Space / Right-click+DragPan the canvas
Alt+Ctrl+Shift+DragCreate or remove space
Alt+Resize / MoveIgnore the grid
Shift+HomeHome
EndRefresh
Enter / HomeReset the view
Ctrl+Shift+HFit window
Ctrl+JFit page
Ctrl+Shift+JFit two pages
Ctrl+0Set custom zoom
Ctrl++Zoom in
Ctrl+-Zoom out

I often move between a detailed view and a complete overview. Therefore, Fit Page and Fit Window are among the most useful commands for large models.

Efficient navigation lets me inspect different parts of a diagram without changing the diagram itself.

Library and Connect

Library shortcuts control how new shapes interact with existing elements and connectors.

ShortcutAction
Alt+(Shift+)Drag a shape from the libraryDisable replacement and connection on drop targets
Alt+(Shift / Ctrl)+Click a library shapeInsert and connect the selected item
Shift+Click a library shapeReplace the selected item
Click a library shapeConnect to the unconnected side of the selected edge
Alt / Shift+ConnectIgnore a shape or connect to a fixed point

These commands help when I build repeated diagram structures. Instead of inserting a shape first and connecting it afterward, I can sometimes perform both actions together.

Document

Document shortcuts cover general editor actions and several drawing modes.

ShortcutAction
Ctrl+S / Ctrl+Shift+SSave or Save As
Ctrl+ZUndo
Alt+Shift+AToggle connection arrows
Alt+Shift+OToggle connection points
Hold AltIgnore handles under the mouse
Ctrl+Shift+GToggle the grid
Ctrl+PPrint
Ctrl+YRedo on Windows
Ctrl+Shift+ZRedo on Linux or macOS
A / S / D / F / CAdd text, note, rectangle, ellipse, or line
XToggle Freehand Mode
Ctrl / Right-clickOpen the context menu
Ctrl+Esc / Shift+EscCancel editing or the current action

The single-letter commands can be especially fast when I create a diagram from scratch. However, I only use shortcuts that I can remember without slowing myself down.

Styles

Style shortcuts help me keep visual formatting consistent.

ShortcutAction
Ctrl+Shift+RClear the default style
Ctrl+EEdit the style
Ctrl+Shift+DSet the selected style as the default
Alt+CCopy a style
Alt+VPaste a style

I use Copy Style and Paste Style when several elements should follow the same visual convention.

Consistent styles improve readability because the same visual treatment can represent the same type of information throughout a diagram.

The shortcut reference also includes basic touch controls:

InteractionAction
DragMove a cell or pan the canvas
Tap and holdToggle selection or start a selection area
PinchZoom
Tap a selected cellOpen the context menu

Which draw.io Shortcuts Should I Learn First?

I do not try to memorize the complete list. Instead, I start with shortcuts for actions that I repeat frequently.

For most of my work, I would learn these first:

ShortcutWhy I Use It
Ctrl+SSave
Ctrl+ZUndo
Ctrl+D or Ctrl+EnterDuplicate
Ctrl+GGroup
Ctrl+Shift+UUngroup
Ctrl+FFind and Replace
Ctrl+JFit page
Ctrl++ / Ctrl+-Zoom
DeleteRemove selected elements
Alt+ClickSelect an overlapping element

After that, I add specialized commands when I need them. For example, geometry, metadata, layers, containers, or style shortcuts become more valuable in advanced diagrams.

I learn shortcuts most effectively when I connect them to a repeated task instead of trying to memorize the complete reference.

What I Keep in Mind

Keyboard shortcuts depend on context. For example, the same key can behave differently while I edit text, select a shape, work inside a group, or navigate the canvas.

In addition, the browser or operating system can already reserve certain key combinations. Therefore, a shortcut may sometimes behave differently from the reference.

Finally, draw.io can change over time. I therefore use the shortcut overview in my current editor version as the primary reference.

If a shortcut does not work as expected, I first check the current editing mode, selection, operating system, browser, and draw.io version.

Conclusion

Keyboard shortcuts in draw.io help me reduce repetitive mouse actions and keep my attention on the diagram. I can use them to edit labels, select objects, open tools, move shapes, navigate the canvas, control connections, manage documents, and reuse styles.

However, I do not need to memorize every shortcut. Instead, I focus on the commands that support my actual workflow.

The most useful keyboard shortcuts are the ones that remove repeated actions and let me concentrate on the structure and meaning of the diagram.

What’s Next?

Now that I know how keyboard shortcuts in draw.io can speed up my workflow, I can improve the shape of my diagrams next. Sometimes, I need more than standard shapes. I need to adjust geometry so elements fit my layout and explain my idea more clearly. In the next article, I’ll explain How to Change Geometry in draw.io. You’ll learn how geometry changes work and how they help you create more precise diagrams. Click below to continue and shape your draw.io elements with more control.

Use Tools That Make Requirements Work Clearer

Requirements engineering becomes more practical when I use tools that support the full workflow. Therefore, I use draw.io to visualize ideas, Confluence to document knowledge, Jira to organize work, and Camunda to model business processes. Each tool helps me create clarity in a different area. As a result, I can connect diagrams, documentation, tasks, and processes more effectively. In the main article on Requirements Engineering Tools, I show how these tools work together and help me build a stronger requirements engineering process.


Scroll to Top
WordPress Cookie Plugin by Real Cookie Banner