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

DMN

joleafjoleaf6k downloads

Enable viewing DMNs using dmn-js.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates10

This plugin lets you view DMN diagrams interactively in your Obsidian notes with a dmn code-block. Furthermore, a DMN modeler lets you edit your DMNs directly in Obsidian. The plugin is based on the dmn-js library. If you want to evaluate/execute your DMNs inside your note, look at the DMN Eval Plugin.

How to use (CodeBlock)

  1. Add a valid *.dmn file to your vault (e.g., my-diagram.dmn, modeled with the Camunda Modeler)
  2. Add the DMN to your note:
```dmn
url: [[my-diagram.dmn]]
```

Parameter

You can customize the view with the following parameters:

Parameter Description Values
url The url of the *.dmn file (required). Relative/Absolute path, or [[*.dmn]] as markdown link.
decisionid An ID of a decision table to open (if empty open the DRD). String value
height The height of the rendered canvas. [200..1000]
opendiagram Show a link to the *.dmn file. True/False
showzoom Show the zoom buttons below the canvas. True/False
enablepanzoom Enable pan and zoom. True/False
zoom Set the zoom level. Default is 'fit-viewport'. 0.0 - 10.0
x Set the x coordinate, if a zoom value is set. 0 - ... (default: 0)
y Set the y coordinate, if a zoom value is set. 0 - ... (default: 0)
forcewhitebackground Force a white background. True/False

While typing inside a dmn code block, Obsidian autocompletes the parameter names (with a short value hint and the full description on hover).

Insert / Edit code block from a popup

You don't have to type the code block manually:

  1. Open a markdown note and put the cursor where the diagram should be inserted (or inside an existing dmn code block to edit it)
  2. Run the command "Insert / Edit DMN code block" from the command palette (it is only enabled while a markdown file is active)
  3. Pick the file with Browse... (all *.dmn files of the vault are listed), set the decision table to open (optional) and adjust the other parameters
  4. Click Insert — the code block is created at the cursor position (or the block the cursor was in gets replaced)

Create a new DMN

The command "Create DMN" creates a new *.dmn file (in the folder of the active file) and opens it in the DMN modeler. The New DMN ribbon icon does the same.

Embed a DMN

You can also embed a DMN directly with a markdown embed:

![[my-diagram.dmn]]

The embedding uses the default values from the plugin settings.

Example

Example

How to edit the DMN

Just open the DMN file in your obsidian vault and the DMN will be editable in fullscreen mode. The modeler shows the full DMN (the DRD view with all decisions) and lets you open and edit every decision table, literal expression, and boxed expression.

Features

  • Edit decision tables, literal expressions, and boxed expressions
  • Undo/Redo
  • Export SVG
  • Minimap and grid (toggleable in the plugin settings)

Install

.. automatically in Obsidian

  1. Go to Community Plugins in your Obsidian Settings and disable Safe Mode
  2. Click on Browse and search for "DMN"
  3. Click install
  4. Toggle the plugin on in the Community Plugins tab

.. manually from this repo

  1. Download the latest release *.zip file.
  2. Unpack the zip in the .obsidian/plugins folder of your obsidian vault

How to dev

  1. Clone this repo into the plugin folder of a (non-productive) vault (.obsidian/plugins/)
  2. npm i
  3. npm run dev
  4. Toggle the plugin on in the Community Plugins tab

Donate

HealthExcellent
ReviewSatisfactory
About
View DMN decision models interactively inside notes using a dmn-js–based viewer. Embed DMN files with a dmn code block to open DRDs or specific decision tables, control zoom and canvas size, and show a link to the source file.
VisualizationFiles
Details
Current version
1.0.0
Last updated
2 months ago
Created
4 years ago
Updates
10 releases
Downloads
6k
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Ko-fi
Author
joleafjoleaf
github.com/JoLeaf
GitHubjoleaf
  1. Community
  2. Plugins
  3. Visualization
  4. DMN

Related plugins

tldraw

Integration with tldraw, allowing users to draw and edit content on a virtual whiteboard.

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

Advanced Canvas

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

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

ExcaliBrain

An interactive, structured mind-map of your Obsidian vault.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Breadcrumbs

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

Advanced URI

Control everything with URI.

Mermaid Tools

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

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.