Archyne for VS CodeDraw Mermaid diagrams on a canvas, in the editor that already has the file
open — a Nothing leaves your machine. The editor is bundled — no service, no account, no network call of its own. Getting startedOpen a The text editor stays the default. The canvas is a second way to look at the file, not a replacement for reading it — and edits go both ways: move a node and the file is rewritten, type in a text editor open on the same file and the canvas redraws. Seven diagram families can be edited on the canvas: flowchart, sequence, class,
state, entity-relationship, C4 and Mermaid inside MarkdownMost Mermaid is not in a
Click it and the canvas opens beside the file, on that block alone. What you draw is written back into the same fence, with the rest of the document — and the block's own indentation, if it sits inside a list item — left alone. The command palette has the same thing as Archyne: Open the Mermaid block at the cursor on the canvas, which is also how to reach it without a mouse. Tilde fences and longer backtick fences work. A If the block is deleted while its canvas is open, Archyne stops writing to the file and says so once, rather than guessing at a neighbouring block. The panel stays open so you can copy your work out of it. Saving is VS Code'sWhile VS Code owns the file, Archyne stands aside from it: no Save, no Save as…, no Open, no Reload from disk, no New diagram, and no document tabs of its own. Ctrl+S and Ctrl+O reach VS Code rather than being intercepted, and nothing is kept in the extension's own storage. Everything that edits the diagram is still here — templates, import, export, the canvas, the Mermaid source panel — because VS Code saves whatever comes out of them. Known limitations
ElsewhereArchyne also runs as a web app, a desktop
application, MIT licensed. |