Draw a diagram online
MEMBERSStart from an empty canvas with every shape, connector, icon and frame of the builder, for a diagram that fits no ready type.
Diagram
Diagram
Full stop and comma move between shapes, arrows move the selected one, Enter writes its text, C starts a connection, Delete removes. Capital R, D, O, B, T, N, F or S adds a shape. K folds, P shows what leads to the shape, Command or Control with F searches.
Pick a shape above and press here, or open a template.
Source, live both ways
Source, live both ways
What Mermaid can hold
What Mermaid can hold
What Mermaid cannot hold is kept in the project. Editing the code changes only what the code says.
Found a bug or missing something? Write to us
How it works
Drawing a diagram from an empty canvas
Decide first what the reader should take away, then give each kind of thing one shape and keep to it. A Note (N) beside the drawing can say what the shapes and line styles mean when that is not obvious.
Text (T) writes a label without a border, and Frame (F) gathers what belongs together. Shift while resizing keeps the proportions of a shape, and Alt while dragging places it freely, without lining up and without the grid.
When the drawing follows a known notation, the page of its type is the better start: a flowchart, a mind map or a sequence diagram there opens with an example and writes its own Mermaid language, while this canvas writes everything as a flowchart.
Help
FAQ
Can text or code be pasted straight onto the canvas?
Yes, while the canvas has the focus. Plain text becomes a Text shape in the middle of the view, Mermaid code opens Paste code to be opened as a new diagram or brought in, and shapes copied here are pasted a little to the side of the originals.
Can the drawing become a flowchart or another type later?
Yes. Choosing a type in the Diagram type bar keeps every shape and connection; the code under the canvas switches to the Mermaid language of that type, and new connections take its look. Only an empty canvas nobody has changed is replaced by the example of the type.
Which looks can a diagram have?
Theme sets the colours of the whole diagram at once: Clear, One colour, Blueprint or Warm. Background follows the page or is set to Light or Dark, and the export can leave it out with Transparent background.