Skip to content
AddHunt
Obsidian plugins

Mermaid Flow

Obsidian plugin for visual and AI Mermaid diagrams

Works with ObsidianOpen source

  • Open source
  • Licence: GPL-3.0

In short

Mermaid Flow is an Obsidian plugin for building Mermaid diagrams on a drag-and-drop canvas or generating them from a plain-text description with AI. It is meant for Obsidian users who document workflows, architectures or sequences and would rather not hand-write diagram code.

What you get

  • Drag-and-drop canvas with a node palette and grid snapping
  • Two-way sync between canvas and Mermaid code
  • AI generation and restructuring of diagrams from text
  • Syntax validation and error repair
  • Stored as standard .mmd blocks in notes
  • Command palette actions and hotkeys

The details

Mermaid Flow brings a visual editor for Mermaid diagrams into Obsidian. A diagram can be drawn on a canvas, written as code or drafted by an AI assistant, and every route ends up as a standard Mermaid block inside the note.

Canvas and code stay in sync

Nodes come from a palette and are joined by dragging connections, with grid snapping to keep layouts tidy. Changes on the canvas are written back to the Markdown code block as they happen, and edits to the code appear on the canvas, so either side can be used. Shapes, labels, arrow types, colors, themes and subgraphs can all be adjusted.

AI drafting

A text description of a workflow, an architecture or a sequence can be turned into a diagram, and an existing chart can be handed to the assistant to clean up and restructure. The assistant also validates syntax and repairs errors, and covers flowcharts and sequence diagrams.

Inside the vault

Diagrams are kept as plain .mmd blocks within notes and work with Live Preview. Storage needs no external cloud service, and editing works offline. Commands for generating diagrams, inserting templates and toggling the canvas sit in the command palette and can be bound to hotkeys. The plugin is open source under GPLv3 and is published by Geekstash.

Alternatives to Mermaid Flow

Questions

Do I have to write Mermaid syntax by hand?

No. Diagrams can be built on the visual canvas or generated from a text description, and the plugin writes the Mermaid code into the note.

How are diagrams saved?

As standard Mermaid code blocks inside Obsidian notes, so they stay readable as plain text and need no external cloud service.

Is Mermaid Flow open source?

Yes. The source code is published under the GPLv3 license.

More like this