dmn-js

DMN viewer and editor.

Currently v10.2.1. View on GitHub.

Visual Business Rules everywhere

View, create and edit DMN decision tables, literal expressions and decision requirement diagrams in your browser. Use dmn-js standalone or embed it into your application.


Add DMN diagrams to your application

Embed DMN diagrams and decision tables to your application with a few lines of code.

<script>
  var viewer = new DmnJS({ container: 'body' });

  viewer.importXML(dmnXML, function(err) {

    if (err) {
      console.log('error rendering', err);
    } else {
      console.log('rendered');
    }
  });
</script>

Brought to you by Camunda

The bpmn.io project provides tools to view and edit BPMN, DMN, and CMMN diagrams as well as Forms in your browser.

Our tools are built and battle tested by Camunda and an integral part of the Camunda product stack. Our libraries are extensible, embeddable and open source on GitHub.