Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

User Interaction

Interacting with a Sprotty Diagram

Sprotty offers multiple mouse and keyboard interactions by default listed in the following tables. The CTRL key in the following is equal to the CMD key on Mac.

Mouse
left-click:toggle selection
CTRL-click:add to/remove from selection
left-click : dragmove selection (when on selected element)
left-click : dragpan viewport (when on diagram background)
mouse wheel:zoom
Touchpad
clicktoggle selection
dragmove selection (when on selected element)
two-finger pan up/downzoom
zoomzoom
Keys
CTRL-SHIFT-Aselect all
CTRL-SHIFT-Ccenter selection, or if nothing is selected center the entire diagram
CTRL-SHIFT-Eexport diagram to SVG
CTRL-SHIFT-Fzoom selection to fill the entire canvas, or if nothing is selected zoom the entire diagram
CTRL-Zundo
CTRL-SHIFT-Zredo