Upload a photo of a hand-drawn sketch → AI converts it into an editable diagram in 3 steps:
| Feature | How |
|---|---|
| Add shapes | Drag from left sidebar (19 shape types) |
| Add text | Double-click or right-click on canvas background |
| Edit edge label | Double-click an edge label to edit it inline |
| Connect nodes | Drag from a node's handle to another node |
| Move nodes | Click and drag |
| Resize nodes | Select a node → drag resize handles |
| Delete | Select node/edge → Backspace or Delete |
| Multi-select | Click-drag on canvas background (partial selection mode) |
| Pan canvas | Middle-click drag or right-click drag |
| Zoom | Scroll wheel |
| Snap to grid | Enabled by default (16px grid) |
| Action | Shortcut |
|---|---|
| Group selected nodes | Ctrl/Cmd + G |
| Ungroup | Ctrl/Cmd + Shift + G |
| Lock/unlock group | Toolbar button (appears on selection) |
Grouped nodes move together when dragged.
When the AI generates a diagram with containers (e.g., a dashed box labelled "AKS" containing service nodes), the container and its children are automatically grouped. Dragging the container moves all contained nodes together. You can ungroup them via Ctrl/Cmd + Shift + G if you need to rearrange individually.
| Action | Shortcut |
|---|---|
| Undo | Ctrl/Cmd + Z |
| Redo | Ctrl/Cmd + Shift + Z or Ctrl/Cmd + Y |
50-level history stack. Snapshots are taken before: adds, connects, deletes, drags, grouping, and styling changes.
When you insert /Sketch2Diagram on a Confluence page, you see a macro preview — a read-only view of your diagram embedded directly in the page (450px tall). The preview has:
If no diagram exists yet, a "Create diagram" button is shown instead.
Clicking Edit opens a full-screen modal with the complete editor (sidebars, toolbar, AI upload, etc.). The modal cannot be closed by clicking outside or pressing Escape — this prevents accidental data loss.
At the top of the modal:
Diagrams are not auto-saved. Saves happen only in two cases:
If you click "Cancel" with unsaved changes, a confirmation dialog lets you choose to Keep Editing or Discard & Close.
Each Confluence macro instance stores its own diagram independently (keyed by macro context ID).
After uploading a sketch, a Sketch button appears in the header toolbar (between Load Example and Upload Sketch). Click it to toggle a dropdown panel showing the original image so you can compare it side by side with the generated diagram.
PNG and JPG download buttons in the header toolbar. Exports the diagram at 2× resolution with white background, tightly cropped to content.
Dropdown in the header to load built-in examples: system architecture, process flowchart, org chart, activity diagram, swimlane chart.
rectangle · rounded · startEnd · ellipse · circle · diamond · parallelogram · cylinder · cloud · document · actor · text · arrow · arrowLeft · line · dotted · container · swimlanePool · swimlaneLane
| Shortcut | Action |
|---|---|
Ctrl/Cmd + Z |
Undo |
Ctrl/Cmd + Shift + Z / Ctrl/Cmd + Y |
Redo |
Ctrl/Cmd + G |
Group selected nodes |
Ctrl/Cmd + Shift + G |
Ungroup |
Backspace / Delete |
Delete selected |
| Double-click canvas | Create text node |
| Double-click edge label | Edit edge label |
| Right-click canvas | Create text node |