Every keyboard shortcut in ThreatCanvas on one page, from searching and undoing to editing the diagram.
ThreatCanvas shows the shortcuts for your computer: ⌘ on a Mac, Ctrl on Windows and Linux.
| Mac | Windows and Linux | What it does |
|---|---|---|
| ⌘K | Ctrl+K | Open the search bar to find a model, even while you are typing |
| ↑ ↓ | ↑ ↓ | Move through search results or the entries of an open menu |
| Enter | Enter | Open the highlighted result |
| Esc | Esc | Close the search bar, a dialog, a menu or a popover |
| Tab | Tab | Move to the next button or field; Shift+Tab moves back |
| Tab, first on a page | Tab, first on a page | Show Skip to main content, and in a model Skip to diagram tools and Skip to details panel |
| Enter, Space | Enter, Space | Press the focused button or choose the focused menu item |
| Mac | Windows and Linux | What it does |
|---|---|---|
| ⌘F | Ctrl+F | Find a component, threat or control by name |
| ⌘Z | Ctrl+Z | Undo |
| ⇧⌘Z | Ctrl+Shift+Z or Ctrl+Y | Redo |
Undo and redo work on every tab, but not while you are typing in a text field: there they undo your typing instead. They do nothing while you look at an earlier version.
These work while the diagram has the focus, not while you are typing in a panel or a field.
| Key | What it does |
|---|---|
| Delete or Backspace | Delete the selected components, data flows or sticky notes, once you confirm |
| ↑ ↓ ← → | Move the selected components or sticky note a little |
| Shift + arrow keys | Move them further |
| Esc | Clear the selection, or leave connect mode, the sticky note tool or the comment tool |
| Tab, then Enter | Select a component, trust boundary or sticky note without the mouse |
| Enter or Space on a component's label | Rename the component |
| Enter or Space on the sticky note tool | Place a sticky note in the middle of the view |
| Enter or Space on a selected sticky note | Write in it |
| arrow keys on a comment pin | Move the pin; Shift moves it further |
| ⌘ + scroll (Mac), Ctrl + scroll | Zoom the Related nodes map in a threat's details |
| Key | What it does |
|---|---|
| Enter | Save a renamed threat or control, a trust boundary's name, your notes, or a sticky note's text |
| Shift+Enter | Start a new line in notes or a sticky note |
| Esc | Cancel the edit and keep the previous text |
| Enter | Send your message to the assistant |
| Shift+Enter | Start a new line in a message to the assistant |
| Enter or , | Turn what you typed into a tag, or an email address into an invite |
| Backspace | In an empty tags field, remove the last tag |
| Key | What it does |
|---|---|
| Space or Enter on an entry's handle | Pick the entry up, or drop it |
| ↑ ↓ | Move the entry you picked up |
| Esc | Put it back where it was |