Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Mermaid Relay

ArmanArman5 downloads

Edit Mermaid diagrams visually while keeping portable Markdown in sync with external tools and AI agents.

Add to Obsidian
Mermaid Relay screenshot
  • Overview
  • Scorecard
  • Updates3

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 Relay editing a system-design diagram alongside an agent

Usage

  1. Create a standard mermaid fenced block, or run Insert Mermaid flowchart from the command palette.
  2. Select Mermaid Relay above the block, or run Edit Mermaid block under cursor.
  3. Edit the source or use the visual canvas for supported flowcharts. Valid changes save automatically to the original Markdown block.
  4. Close the editor when finished. Changes made to the note by an external editor or coding agent reload automatically while the editor is open.

Coworking with AI agents

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.

Features

  • Opens a full-pane editor from Reading view, Live Preview, Source mode, or the command palette.
  • Auto-saves valid drafts and reloads diagrams changed outside the plugin.
  • Supports source highlighting, diagnostics, preview, undo/redo, themes, and Mermaid looks.
  • Visually edits common flowchart nodes, shapes, edges, labels, directions, and layout.
  • Preserves ordinary portable mermaid fences; canvas positions are never stored.
  • Runs locally without accounts, telemetry, or Mermaid Chart.

Unsupported or ambiguous flowchart syntax remains editable as source, while the visual canvas becomes read-only to avoid lossy changes.

Compatibility

Mermaid Relay requires Obsidian 1.13.1 or later and supports the desktop app only.

Privacy

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.

Install

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.

Develop

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.

Support

Report bugs and request features through GitHub Issues.

License

MIT

HealthExcellent
ReviewSatisfactory
About
Edit Mermaid diagrams in Obsidian using a visual flowchart canvas or source editor. Mermaid Relay saves valid changes directly to standard Mermaid fenced blocks and automatically reloads edits made by external tools. Work visually while AI agents such as Claude Code, Codex, or OpenCode read and update the same project Markdown. Open the editor from Reading view, Live Preview, Source mode, or the command palette. Everything runs locally, with no accounts, telemetry, or network requests.
CanvasDrawingEditing
Details
Current version
0.1.2
Last updated
22 hours ago
Created
23 hours ago
Updates
3 releases
Downloads
5
Compatible with
Obsidian 1.13.1+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
ArmanArmanarman
arman.pw
GitHubarmanjr
  1. Community
  2. Plugins
  3. Canvas
  4. Mermaid Relay

Related plugins

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Advanced Tables

Improved table navigation, formatting, and manipulation.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)

Mermaid Tools

Improved Mermaid.js experience: visual toolbar with common elements and more.

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.

Outliner

Work with your lists like in Workflowy or Roam Research.

Ink

Handwriting and drawing directly between paragraphs using a digital pen, stylus, or Apple pencil.

Various Complements

Complete words similar to auto-completion in an IDE.