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
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Diagrammo Diagrams

diagrammodiagrammo61 downloads

Render bar, line, pie, sequence, arc, timeline, C4, kanban, and other diagrams from plain-text dgmo code fences.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates12

Render Diagrammo diagrams inline in your Obsidian notes using ```dgmo code fences. Works on desktop and mobile.

bar, sequence, timeline, pie — all rendered inside Obsidian

Supported chart types

All chart types from @diagrammo/dgmo are supported:

Framework Types
ECharts bar, bar-stacked, line, multi-line, area, pie, doughnut, radar, polar-area, scatter, sankey, chord, function, heatmap, funnel
D3 slope, wordcloud, arc, timeline, venn, quadrant, flowchart, class, er, org, infra, kanban, sitemap, c4
Sequence sequence (with participant type inference, collapsible sections, activation bars)

Mermaid-backed chart types (quadrant via Mermaid) are not yet supported in the plugin.

Usage

Write a fenced code block with the dgmo language tag:

```dgmo
bar Quarterly Revenue
x-label Quarter
y-label Revenue ($M)

Q1 4.2
Q2 4.8
Q3 5.1
Q4 5.9
```

The diagram renders inline in reading mode and live preview.

Example note

Open the command palette (Cmd/Ctrl + P) and run:

Diagrammo Diagrams: Create example note with all chart types

This creates a Diagrammo Examples.md file in your vault with working examples of every supported chart type.

Settings

Setting Description Default
Palette Color palette for all diagrams — all 10 dgmo palettes available (nord, solarized, catppuccin, dracula, rose-pine, gruvbox, monokai, tokyo-night, one-dark, bold) nord
Theme Light, dark, or auto (follows Obsidian's theme) auto
Chart height Height in pixels for ECharts-based diagrams (100–2000) 400

Install

From Obsidian Community Plugins

  1. Open Settings > Community Plugins > Browse
  2. Search for "Diagrammo Diagrams"
  3. Click Install, then Enable

Manual install

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create a folder: <vault>/.obsidian/plugins/dgmo/
  3. Copy the three files into that folder
  4. Enable the plugin in Settings > Community Plugins

Development

Prerequisites

  • Node.js 18+

Setup

npm install

Commands

npm run build     # One-shot build → main.js (esbuild, CJS bundle)
npm run dev       # Watch mode (rebuilds on save, inline sourcemaps)

The build bundles everything (including @diagrammo/dgmo and echarts) into a single main.js in the repo root, which Obsidian loads directly. obsidian, electron, and CodeMirror packages are externalized.

Project structure

src/
├── main.ts       # Plugin lifecycle, markdown post-processor, example note command
├── render.ts     # Rendering dispatcher (routes to ECharts or D3 based on chart type)
├── settings.ts   # Settings tab UI (palette dropdown, theme, chart height)
└── examples.ts   # Example note content with all chart types

Dependencies

  • @diagrammo/dgmo ^0.8.19 — diagram parsing and rendering (bundled by esbuild)
  • echarts ^6.0.0 — chart rendering for ECharts-backed types
  • obsidian ^1.12.3 — Obsidian plugin API (dev only, externalized)

Testing locally

  1. Run npm run dev (watch mode)
  2. Symlink or copy the repo into your vault's .obsidian/plugins/dgmo/ folder
  3. Enable the plugin in Obsidian settings
  4. Edit a note with a ```dgmo code fence — changes rebuild automatically

Releasing

GitHub release

  1. Bump version in both package.json and manifest.json (must match)
  2. Build: npm run build
  3. Commit and push
  4. Create a GitHub release with tag <version> (e.g., 1.0.1)
  5. Attach these files to the release:
    • main.js
    • manifest.json
    • styles.css

Obsidian Community Plugins

The plugin is listed in the Obsidian Community Plugins registry. New versions are picked up automatically from GitHub releases — just publish a new release with the required files attached.

Links

  • diagrammo.app — full desktop editor
  • @diagrammo/dgmo — the dgmo markup library and CLI
  • dgmo syntax reference

License

MIT

84%
HealthExcellent
ReviewSatisfactory
About
Render Diagrammo diagrams inline from ```dgmo code fences, supporting ECharts, D3, sequence (with participant inference), Sankey, heatmap, wordcloud and more. Show diagrams in reading mode and live preview on desktop and mobile, and generate an example note with working samples of every chart type.
ChartsVisualizationMarkdown
Details
Current version
1.5.6
Last updated
Yesterday
Created
3 months ago
Updates
12 releases
Downloads
61
Compatible with
Obsidian 1.5.0+
License
MIT
Report bugRequest featureReport plugin
Author
diagrammodiagrammo
GitHubdiagrammo
  1. Community
  2. Plugins
  3. Charts
  4. Diagrammo Diagrams

Related plugins

Charts

Easily create interactive charts in your notes.

Markwhen

Create timelines, gantt charts, calendars, and more using markwhen.

Chord Sheets

Work with chord sheets (chords over lyrics or inline) in Live Preview and reading mode: Chord diagrams for guitar, ukulele and mandolin, transpose, autoscroll, and more.

Dirtreeist

Render a directory Structure Diagram from a Markdown lists in codeblock.

Charts View

Visualize data from your notes with plots and graphs.

Mind Map

Display Markdown notes as mind maps using Markmap.

Importer

Import data from Notion, Evernote, Apple Notes, Microsoft OneNote, Google Keep, Bear, Roam, and HTML files.

Outliner

Work with your lists like in Workflowy or Roam Research.

Maps

Adds a map layout to bases so you can display notes as an interactive map view.

Tracker

Track occurrences and numbers in your notes.