dmn-js - DMN for the web
, (*1)
dmn-js is a DMN modeling and rendering toolkit., (*2)
the project is still in an early stage. Documentation may be missing and examples may be broken., (*3)
Usage
var DmnViewer = require('dmn-js');
var xml; // my DMN xml
var viewer = new DmnViewer({ container: 'body' });
viewer.importXML(xml, function(err) {
if (err) {
console.log('error rendering', err);
} else {
console.log('rendered');
}
});
Resources
dmn-js builds on top of a few additional powerful tools, (*4)
-
dmn-moddle: Read / write support for DMN XML in the browsers
-
table-js: Table rendering and editing toolkit
Building the Project
As long as the project is in alpha stage, you must make sure you setup the whole development environment, including a number of project dependencies according to our development setup., (*5)
License
Use under the terms of the bpmn-js license., (*6)