Turn on Manual mode
- Open a flowchart, state, sequence, ER, or class diagram.
- In the editor’s top bar, switch from Code to Manual.
- A toolbar appears at the top left of the canvas, with a line of hints below it. Select something and the hints give way to a bar for it.
How the canvas behaves
- Drag empty canvas to pan, and scroll or pinch to zoom, as in Code mode. Double-click edits text instead of resetting the view.
Escor a click on empty canvas clears the selection.DeleteorBackspacedeletes it.Ctrl+Zundoes andCtrl+Yredoes, like Undo and Redo in the top bar. They work through the code editor, so keep the code panel open (Show code in the top bar).
What happens to your code
Flowcharts and state diagrams keep their arrangement as soon as Manual mode opens: every node’s position goes into one comment line at the end of the code (see Where the arrangement is saved). From then on, the engine, direction, and spacing in the Layout tab don’t move them. Choosing another engine or direction asks whether to arrange the diagram again; Auto layout in the canvas toolbar does the same.
If it doesn’t work
- Manual is greyed out for other diagram types, such as Gantt charts and mind maps. Edit those as code.
- The toggle is hidden on narrow screens. Widen the window.
- “This diagram can’t be edited on the canvas until the code is fixed”: switch back to Code, fix the line the status bar names, and switch again.