Artifact ยท Utilities

Mermaid Diagram Editor

mermaidmermaid editormermaid diagrammermaid live editordiagram as codeflowchart

Mermaid Diagram Editor lets you write Mermaid code and see the diagram drawn beside it as you type. It sits on a shared MockFlow board, so everyone on the board sees the same diagram and watches it change live.

Use Mermaid Diagram Editor together on your board.

It handles every Mermaid diagram type, including flowcharts, sequence, class, state and ER diagrams, Gantt charts, pie charts, mind maps, timelines, user journeys, git graphs and quadrant charts. Start from a template, describe what you want and let AI draw it, or paste code you already have.

  • Live preview. The diagram redraws as you type, and everyone on the board sees each change as it happens.
  • Every Mermaid diagram type. Uses the real Mermaid engine, with twelve starter templates from flowcharts to quadrant charts.
  • AI that writes valid Mermaid. Create, change and fix diagrams with AI. Each answer is checked by the Mermaid parser before it reaches the board, and the code it replaces is kept as a saved version.
  • Syntax help built in. Shapes, arrows, groups, notes and more for each diagram type, with an Insert button and a link to the full Mermaid reference.
  • Clear errors. Errors name the line and say what is wrong in plain words, while the last working diagram stays visible.
  • Saved versions. Name and keep up to twenty versions of the code, open any of them, and restore one without losing the current code.
  • Colours and a hand-drawn look. Choose Default, Neutral, Forest or Blue colours, and a classic or hand-drawn style that suits a whiteboard.
  • Made for working together. When someone is typing, the others see their name and can type again when they pause, so edits never collide.

How to use Mermaid Diagram Editor.

1

Add it to a board

Open Add anything with the plus button in the bottom toolbar, choose Artifacts and add Mermaid Diagram Editor. Use on a board on this page opens a new board with it already on.

2

Start a diagram

Describe your diagram and choose Create with AI, pick a diagram type such as Flowchart or Sequence to load a starter, or type and paste Mermaid code in the editor.

3

Edit the code

In Edit, the code sits beside the diagram, which redraws as you type. Syntax lists the building blocks of each diagram type, and Insert puts one into your code.

4

Fix mistakes

A mistake is pointed out by line number in plain words, and the last diagram that worked stays on screen until it is fixed. Fix with AI can correct it for you.

5

Change it with AI

Change with AI edits the diagram from a plain request, such as add a refund step after payment. Every AI change can be undone.

6

Save versions

Saved versions in the menu keeps a named copy of the code, such as Before review. Open a version to see its diagram and restore it if the team wants it back.

7

Present and share

View shows only the diagram, for reading from across the board. Drag to move it, zoom with the corner buttons, and download it as a PNG picture or the code as Markdown.

Who uses Mermaid Diagram Editor.

Engineers in a design review

Sketch a sequence diagram of a new API call while the team discusses it, then save it as a version before the next round of changes.

A product team mapping a flow

Describe a sign up or checkout flow, let AI draw the flowchart, and adjust the steps together until everyone agrees.

A project lead planning a launch

Lay out a Gantt chart of the work beside the rest of the planning board and update it as dates move.

Developers documenting a system

Draw class, ER or state diagrams next to the notes, then download the code as Markdown for the repository.

A teacher explaining a process

Build a diagram step by step in front of the class, using View to show just the diagram.

Add Mermaid Diagram Editor to your board.

Use on a board opens a new board with Mermaid Diagram Editor already on it. To add it to a board you already have, follow these steps. Each copy keeps its own data, so a vote on one board never changes another.

1

Open your board

Open the MockFlow board you want to use it on.

2

Add it from the Artifact Library

Click Add anything (the plus button) in the toolbar at the bottom of the board, switch to Artifacts and pick Mermaid Diagram Editor under Utilities. Adding it does not use AI credits.

3

Use it together

Click Interact with Component (the hand button), or switch the board to Play mode. Everyone on the board uses the same app, and Reset shared data clears it for the next session.

Questions about Mermaid Diagram Editor.

What is Mermaid?
Mermaid is a way to describe diagrams as plain text. You write lines like A --> B and the diagram is drawn for you, so diagrams are quick to change and easy to keep with code.
Which Mermaid diagram types does it support?
It uses the Mermaid engine itself, so it draws every Mermaid diagram type, including flowcharts, sequence, class, state and ER diagrams, Gantt charts, pie charts, mind maps, timelines, user journeys, git graphs and quadrant charts.
Can several people edit the same diagram?
Yes. Everyone on the board sees the same code and diagram. While one person types, the others see their name and can type again when they pause.
Can AI create Mermaid diagrams for me?
Yes. Describe the diagram and choose Create with AI, or use Change with AI and Fix with AI on an existing one. AI uses your AI credits, works on diagrams up to about 3,000 characters of code, and every AI change can be undone.
How do I export a Mermaid diagram?
Open the menu and choose Download picture (PNG) for an image, or Download code for a Markdown file with the Mermaid code inside. Copy code puts the code on your clipboard.
Can I go back to an earlier version of a diagram?
Yes. Saved versions keeps named copies of the code. Open one to see its diagram, then restore it. The code it replaces is saved as a version too.
Can I paste Mermaid code I already have?
Yes. Paste it into the editor in Edit and the diagram is drawn straight away. If something is wrong, the editor points to the line.
Which MockFlow plans include it?
Artifacts are included on the Plus and Max plans. Anyone can sign up free and start a board.
Get started

Use Mermaid Diagram Editor with your team.

Included on Plus and MaxChange it with AI on Max
New to MockFlow

Sign up free, open a board and see what your team can use together.

MCPBrainstorm with MockFlow MCP

Add MockFlow as an MCP connector in Claude, Cursor, or any MCP-compatible AI assistant to generate flowcharts, mindmaps, architecture diagrams, and 16 types of visualizations.

Desktop App MCP Powerful
CLI Web MCP Developer
Web MCP Easiest

Built into the MockFlow Desktop App. AI creates visuals directly on your open canvas — no URLs, no waiting.

1
Open Desktop App → open a MockFlow project
2
In Claude Code / Cursor, run:
claude mcp add --transport http -s user mockflow-ideaboard http://localhost:21193/mcp
3
Ask: "Create a flowchart for..."

Best for: Designers, product teams, daily MockFlow users.

Download Desktop App →

Install from npm, log in via browser (OAuth), and boards are saved to your MockFlow account.

1
npm install -g @mockflow/ideaboard-mcp
2
mockflow-ideaboard-mcp login
3
mockflow-ideaboard-mcp

Best for: Developers using Claude Code, Cursor, or VS Code Copilot.

npm Package →

Add MockFlow as a connector in Claude.ai or ChatGPT. No installation. A new board is created and you get a shareable URL.

1
Open Claude.ai → Settings → Connectors
2
Paste this URL, then click Connect and sign in to MockFlow: https://app.mockflow.com/ideaboard/connector/mcp
3
Ask Claude to create a flowchart — done!

ChatGPT or no account: no login needed, use https://app.mockflow.com/ideaboard/mcp

Best for: Managers, marketers, anyone using Claude.ai or ChatGPT in the browser.

Welcome back

Don't have an account? Sign up

Faster ways in

Sign in with an account you already use.