dmn-js-shared

WebJar for dmn-js-shared

License

License

Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

dmn-js-shared
Last Version

Last Version

10.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

dmn-js-shared
WebJar for dmn-js-shared
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

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

Download dmn-js-shared

How to add to project

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

Dependencies

compile (10)

Group / Artifact Type Version
org.webjars.npm : min-dash jar [3.5.2,4)
org.webjars.npm : ids jar [0.2.0,0.3)
org.webjars.npm : inferno jar [5.0.5,5.1)
org.webjars.npm : camunda-dmn-moddle jar [1.0.0,2)
org.webjars.npm : selection-update jar [0.1.2,0.2)
org.webjars.npm : diagram-js jar [7.0.0,8)
org.webjars.npm : min-dom jar [3.1.3,4)
org.webjars.npm : dmn-moddle jar [9.1.0,10)
org.webjars.npm : selection-ranges jar [3.0.2,4)
org.webjars.npm : table-js jar [7.0.0,8)

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

Build Status

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
10.0.0