Maker · Tinkering · Useless Tools
Diagram to Mermaid
Draw boxes and arrows on a canvas, and get the Mermaid code for the diagram.
Key takeaway: Drawing is faster than remembering the syntax. The tool writes the Mermaid text, with colours, and keeps the drawing as a file you can reopen.
Three nodes and two connections drawn on the canvas; the generated Mermaid code (graph TD, node styles, connections) appears on the right.
What it does
- Shapes: rectangle, circle, ellipse, square, diamond, plus lines, arrows and text.
- Colours for each shape; they are written into the Mermaid
stylelines. - Modes: select and move, or draw shapes.
- Generate Mermaid, then copy the code or preview it; the status line reports the result (“3 nodes, 2 connections”).
- JSON export and import, to save a drawing and continue later.
Built with
Python desktop application (the repository describes it as a script that converts diagrams into Mermaid syntax).
Status and limits
| Item | Status |
|---|---|
| ✅ | Draw, generate, copy and preview; JSON export and import |
| ⚠️ | The folder name in the repository is spelled diagram_to_maremaid; the link above uses it as it is |
| ⚠️ | Personal toolbox, not a maintained package: expect rough edges |
Get it
This tool on GitHub · whole Useless Tools repository · Zenodo archive (DOI 10.5281/zenodo.23153751). Each tool in the repository is independent, with no shared setup. Check the script or its requirements.txt, where there is one, for the dependencies.