dmn-js

WebJar for dmn-js

License

License

Categories

Categories

JavaScript Languages Github Development Tools Version Controls
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

github-com-bpmn-io-dmn-js
Last Version

Last Version

0.9.1
Release Date

Release Date

Type

Type

jar
Description

Description

dmn-js
WebJar for dmn-js
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/bpmn-io/dmn-js

Download github-com-bpmn-io-dmn-js

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/github-com-bpmn-io-dmn-js/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>github-com-bpmn-io-dmn-js</artifactId>
    <version>0.9.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-bpmn-io-dmn-js/
implementation 'org.webjars.npm:github-com-bpmn-io-dmn-js:0.9.1'
// https://jarcasting.com/artifacts/org.webjars.npm/github-com-bpmn-io-dmn-js/
implementation ("org.webjars.npm:github-com-bpmn-io-dmn-js:0.9.1")
'org.webjars.npm:github-com-bpmn-io-dmn-js:jar:0.9.1'
<dependency org="org.webjars.npm" name="github-com-bpmn-io-dmn-js" rev="0.9.1">
  <artifact name="github-com-bpmn-io-dmn-js" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='github-com-bpmn-io-dmn-js', version='0.9.1')
)
libraryDependencies += "org.webjars.npm" % "github-com-bpmn-io-dmn-js" % "0.9.1"
[org.webjars.npm/github-com-bpmn-io-dmn-js "0.9.1"]

Dependencies

compile (13)

Group / Artifact Type Version
org.webjars.npm : diagram-js-direct-editing jar [0.17.0,0.18)
org.webjars.npm : selection-update jar [0.1.2,0.2)
org.webjars.npm : tiny-svg jar [0.1.1,0.2)
org.webjars.npm : table-js jar [0.6.3,0.7)
org.webjars.npm : object-refs jar [0.1.0,0.2)
org.webjars.npm : diagram-js jar [0.18.1,0.19)
org.webjars.npm : dmn-moddle jar [0.6.0,0.7)
org.webjars.npm : ids jar [0.2.0,0.3)
org.webjars.npm : inherits jar [2.0.1,3)
org.webjars.npm : bootstrap jar [3.3.5,4)
org.webjars.npm » stringify jar [5.1.0,6)
org.webjars.npm : min-dom jar [0.2.0,0.3)
org.webjars.npm : lodash jar [3.0.1,4)

Project Modules

There are no modules declared in this project.

Starting with dmn-js@8 the library displays and saves DMN 1.3 diagrams only. To open older DMN files, migrate them before loading them with dmn-js.

dmn-js - DMN for the web

CI

View and edit DMN 1.3 diagrams in the browser.

Installation

Use the library pre-packaged or include it via npm into your node-style web-application.

Usage

To get started, create a dmn-js instance and render DMN 1.3 diagrams in the browser:

var xml; // my DMN 1.3 xml
var viewer = new DmnJS({
  container: 'body'
});

viewer.importXML(xml, function(err) {

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

Checkout our examples for more supported usage scenarios.

Dynamic Attach/Detach

You may attach or detach the viewer dynamically to any element on the page, too:

var viewer = new DmnJS();

// attach it to some element
viewer.attachTo('#container');

// detach the panel
viewer.detach();

Resources

Building the Project

Perform the following steps to build the library, including running all tests:

npm install
npm run all

Run tests in individual packages:

npm run dev -- dmn-js

Please checkout our contributing guidelines if you plan to file an issue or pull request.

Related

dmn-js builds on top of a few additional powerful tools:

  • dmn-moddle: Read / write support for DMN 1.3 XML
  • diagram-js: Diagram rendering and editing toolkit
  • table-js: Table rendering and editing toolkit

License

Use under the terms of the bpmn.io license.

org.webjars.npm

bpmn.io

Rendering toolkits and editors for BPMN 2.0, CMMN, DMN, and forms.

Versions

Version
0.9.1