Using sprotty

Miro Spönemann edited this page Sep 18, 2017 · 5 revisions

Supported Browsers

sprotty is developed and well tested using Google Chrome as a browser. If you experience issues on other browsers, don't hesitate to file them.

Using a sprotty diagram

The CTRL key in the following is the CMD key on Mac.

Mouse

  • left-click: toggle selection
  • CTRL-click: add to/remove from selection
  • left-click drag: move selection (when on selected element)
  • left-click drag: pan viewport (when on diagram background)
  • mouse wheel: zoom

Touchpad

  • click: toggle selection
  • drag: move selection (when on selected element)
  • two-finger pan up/down: zoom
  • zoom: zoom

Keys

  • CTRL-A: select all
  • CTRL-C: center selection, or if nothing is selected center the entire diagram
  • CTRL-E: export diagram to SVG
  • CTRL-F: zoom selection to fill the entire canvas, or if nothing is selected zoom the entire diagram
  • CTRL-Z: undo
  • CTRL-SHIFT-Z: redo
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.