Visual Editor

Design it, discuss it, refine it – all in one place.

Customize a diagram, collaborate live, or leave feedback async. The Visual Editor keeps the whole conversation on one canvas.

Mermaid Visual Editor showing a flowchart being customized with drag-and-drop — adjust nodes and edges while Mermaid generates the underlying syntax automatically

Prompt right on the canvas

Describe a change right inside the editor and watch the diagram update around you.

Customize in clicks

Adjust edges, labels, colors, and shapes instantly.

Always know where you are

Click any node or edge to highlight the matching code and vice versa. Visual and syntax stay perfectly in sync.

Skip the syntax

Drag to design while Mermaid writes the code — or blend AI, clicks, and code however you like.

Snap layouts into shape

Node alignment, movable edges, and easier shape discovery make cleanup fast.

Turn scattered notes into one visual

Pull fragmented docs into a single editable diagram.

Design together, move faster

Co-create diagrams live on a shared canvas.

Built for async, too

Share feedback and updates visually, so projects keep flowing across time zones.

How to build a diagram

Step 1: Open the Mermaid Visual Editor to start building or editing a diagramStep 2: Click any node or edge to select, resize, or reshape it in the Visual EditorStep 3: Drag into empty canvas space to create new diagram nodes without writing Mermaid syntaxStep 4: Double-click any node label to edit the text directly on the diagramStep 5: Mermaid code updates automatically in sync with every visual change in the editorStep 6: Share or present the finished diagram directly from Mermaid

Click nodes or edges to resize and reshape them

Drag into empty space to create new nodes

Double-click any label to edit text

Watch the code update automatically with every change

Collaborate live or async with automatic updates across teammates

Share or present whenever you’re ready

Less time syncing, more time building

One shared canvas for mapping ideas, collaborating live,  and keeping teams on the same page, literally.

FAQ

Have questions about the Visual Editor? These should help.

A place to create and customize diagrams with clicks and drags — no code required. Adjust nodes, edges, labels, colors, and layouts while Mermaid writes the syntax in the background.
Editing without leaving the canvas. Type a prompt inside the code panel or visual editor, describe the change, and the diagram updates around you — no context-switching, no translating an idea into syntax. Keep refining until it's right.
Nope. Drag to design, prompt in plain language, or use AI — the Visual Editor generates the code automatically. Want to tweak the syntax directly? Switch to code view anytime.
The Visual Editor currently supports flowchart, class, sequence, state, mindmap, ER, and requirement diagrams — with more types coming soon. You can always use the code editor for the full range of Mermaid diagrams.
A way to fix broken or messy diagrams on your terms. Choose which issues to address, preview the proposed changes side by side, and apply them selectively — so you see exactly what AI is changing and why before anything happens.
The Visual Editor and code editor stay in sync. Make changes visually and the code updates automatically — or edit the code and watch the visual diagram reflect your changes instantly.
Yes. Adjust node colors, shapes, edge styles, labels, and more with a few clicks. The Visual Editor gives you full control over your diagram's appearance without touching CSS or config files.
Yes. Co-create live, leave comments for async feedback, and share a public view-only link in one click — no account required for reviewers.
Yes. Export your diagrams as PNG, SVG, or copy the Mermaid syntax to use in your docs, repositories, or other tools.
FAQ Icon