DMN Plugin

by joleaf
5
4
3
2
1
Score: 58/100

Description

Category: 3rd Party Integrations

The DMN Plugin plugin for Obsidian allows users to view Decision Model and Notation (DMN) files interactively within their notes. With this plugin, you can add DMNs to your notes and render them as diagrams, providing a visual representation of your decision-making processes. The viewer is based on the popular dmn-js library, ensuring high-quality rendering of your DMNs. You can customize the view with various parameters, such as setting the height of the rendered canvas or forcing a white background. This plugin is ideal for those working with business rules, decision-making models, and process flows in Obsidian.

Reviews

No reviews yet.

Stats

3
stars
3,828
downloads
0
forks
1,229
days
741
days
741
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
1
total issues
0
open issues
1
closed issues
5
commits

Latest Version

2 years ago

Changelog

README file from

Github

DMN-Plugin for Obsidian GitHub tag (latest by date) Release Obsidian Plugin Obsidian downloads

This plugin lets you view DMNs interactively in your Obsidian notes. The viewer is based on the dmn-js library. If you want to evaluate/execute your DMNs inside your note, look at the DMN Eval Plugin.

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 Plugin"
  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 .obsidan/plugins folder of your obsidian vault

How to use

  1. Add a valid *.dmn file to your vault (e.g., my-diagram.dmn) (e.g., 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. [300..1000]
opendiagram Show a link to the *.dmn file. True/False
showzoom Show the zoom buttons below the canvas. 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

Example

Example

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