dmn-js-literal-expression

WebJar for dmn-js-literal-expression

License

License

Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

dmn-js-literal-expression
Last Version

Last Version

10.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

dmn-js-literal-expression
WebJar for dmn-js-literal-expression
Project URL

Project URL

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

Source Code Management

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

Download dmn-js-literal-expression

How to add to project

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

Dependencies

compile (6)

Group / Artifact Type Version
org.webjars.npm : dmn-js-shared jar [10.0.0,11)
org.webjars.npm : inferno jar [5.0.5,5.1)
org.webjars.npm : min-dom jar [3.1.3,4)
org.webjars.npm : escape-html jar [1.0.3,2)
org.webjars.npm : diagram-js jar [7.0.0,8)
org.webjars.npm : min-dash jar [3.5.2,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
10.0.0