Arman5 downloadsEdit Mermaid diagrams visually while keeping portable Markdown in sync with external tools and AI agents.
Visual Mermaid editing over shared Markdown.
Mermaid Relay is a local, offline Obsidian plugin for editing standard mermaid code blocks as source or on a flowchart canvas. Markdown remains the source of truth, so external editors and coding agents can read and update the same diagram.

mermaid fenced block, or run Insert Mermaid flowchart from the command palette.Mermaid Relay is particularly useful when diagramming with AI agents such as Claude Code, Codex, or OpenCode. You work visually while the agent reads and edits the same Mermaid block in the project Markdown file. Valid external changes reload automatically, keeping the canvas, source, and project context in sync.
To collaborate without leaving Obsidian, install a compatible chat or agent plugin such as Real Claudian or Copilot. Give the agent the relevant project context, point it to the Markdown file containing the diagram, and work together on its nodes, connections, and labels. Compatibility depends on the agent and integration you choose.
mermaid fences; canvas positions are never stored.Unsupported or ambiguous flowchart syntax remains editable as source, while the visual canvas becomes read-only to avoid lossy changes.
Mermaid Relay requires Obsidian 1.13.1 or later and supports the desktop app only.
Mermaid Relay runs locally and makes no network requests. It has no accounts, telemetry, advertising, or paid features. Diagram source stays in ordinary Markdown notes, and the plugin stores only global UI preferences. The optional documentation link opens the Mermaid website when selected.
For a manual installation, copy main.js, manifest.json, and styles.css from the same release into:
<vault>/.obsidian/plugins/mermaid-relay/
Restart Obsidian and enable Mermaid Relay under Settings → Community plugins.
npm ci
npm test
npm run lint
npm run build
To build and copy the plugin into a development vault:
./deploy.sh <vault>/.obsidian/plugins/mermaid-relay
See RELEASING.md for release steps and THIRD_PARTY_NOTICES.md for dependency notices.
Report bugs and request features through GitHub Issues.