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

Diagrammo Diagrams

diagrammodiagrammo409 downloads

40+ diagram types in your notes from one plain-text language. Process, architecture, data, project, hierarchy — diffable, searchable, mobile-friendly, with live preview and themed palettes.

Add to Obsidian
Diagrammo Diagrams screenshot
  • Overview
  • Scorecard
  • Updates28

Write a dgmo code block and it renders as a diagram inline in your notes — reading mode and live preview, desktop and mobile.

Diagrammo gives you 40+ chart types from one small plain-text language: data viz, software architecture, project planning, hierarchies, and more. Because the diagrams are plain text, they're searchable in Obsidian, diffable in git or Sync history, and never go stale the way an exported image does.

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

Supported chart types

Every chart type from @diagrammo/dgmo renders in Obsidian:

Category Types
Data arc, area, bar, bar-stacked, chord, doughnut, function, heatmap, line, multi-line, pie, polar-area, radar, sankey, scatter, slope
Business cycle, funnel, journey-map, org, pyramid, quadrant, tech-radar, venn, wordcloud
Project gantt, kanban, timeline
Software boxes-and-lines, c4, class, er, flowchart, infra, mindmap, sequence, sitemap, state, wireframe

Run Diagrammo Diagrams: Create example note with all chart types from the command palette to see every chart type rendered with working sample data. Full language reference at diagrammo.app/docs.

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. Hover any rendered diagram to reveal a small open-in-new-tab icon in the top-right corner — click it to pop the source open in online.diagrammo.app for live editing, with the same palette and theme.

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 7 dgmo palettes available (slate, atlas, blueprint, tidewater, nord, catppuccin, tokyo-night) slate
Theme Light, dark, or auto (follows Obsidian's theme) auto

Install

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

Or install directly from community.obsidian.md/plugins/dgmo.

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 @diagrammo/dgmo and its rendering dependencies 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 (delegates each chart type to @diagrammo/dgmo)
├── settings.ts   # Settings tab UI (palette dropdown, theme override)
└── examples.ts   # Example note content with all chart types

Dependencies

  • @diagrammo/dgmo ^0.14.1 — diagram parsing and rendering (bundled by esbuild; brings its own transitive rendering deps)
  • 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 block — 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

  • community.obsidian.md/plugins/dgmo — official Obsidian plugin page
  • diagrammo.app — full desktop editor
  • @diagrammo/dgmo — the dgmo markup library and CLI
  • dgmo syntax reference

License

MIT

78%
HealthExcellent
ReviewCaution
About
Render ```dgmo code fences as rich diagrams inline in your notes — reading mode, live preview, desktop and mobile. 40+ chart types covering every category an Obsidian vault tends to need — data viz, software architecture, project planning, hierarchies, and specialty diagrams — all from one small plain-text language. One plugin instead of stitching several together. Because diagrams are plain text, they live alongside your notes: searchable by Obsidian's built-in search, diffable in git or Obsidian Sync history, easy to copy between vaults, easy to tweak six months later. No binary files, no images to re-export when you change a label. Ten built-in palettes (Catppuccin, Dracula, Gruvbox, Nord, Tokyo Night, and more) with light/dark/auto that follows Obsidian. Run "Create example note with all chart types" from the command palette to drop working samples into your vault.
ChartsVisualizationGraph
Details
Current version
1.6.1
Last updated
3 days ago
Created
4 months ago
Updates
28 releases
Downloads
409
Compatible with
Obsidian 1.5.0+
Platforms
Desktop, Mobile
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.

Life Tracker

Capture and visualize the data that matters in your life.

Charts View

Visualize data from your notes with plots and graphs.

New 3D Graph

Visualize your Vault in 3D with a powerful, highly customizable, and filterable graph.

Bases Charts

Bases views for scatter, line, and bar charts.

Advanced Canvas

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

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Maps

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

Mermaid Tools

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