2.10.2 • Published 8 days ago

camunda-dmn-js v2.10.2

Weekly downloads
-
License
MIT
Repository
github
Last release
8 days ago

camunda-dmn-js

CI

Embeddable Camunda modeling distributions based on dmn-js.

Usage

This project is designed to deliver different DMN modeling distributions. Instead of creating custom Modeler implementations based on dmn-js, choose one of the existing packages to mirror the modeling experience of Camunda's modeling products.

Use a pre-packaged distribution

<link rel="stylesheet" href="https://unpkg.com/camunda-dmn-js/dist/assets/camunda-platform-modeler.css" />

<script src="https://unpkg.com/camunda-dmn-js/dist/camunda-platform-modeler.development.js"></script>

or install it via npm

import { CamundaPlatformModeler as DmnModeler } from 'camunda-dmn-js';

import 'camunda-dmn-js/dist/assets/camunda-platform-modeler.css';

into your web-application.

var dmnModeler = new DmnModeler({
  container: '#canvas',
  drd: {
    propertiesPanel: {
      parent: '#properties-container'
    }
  }
});

try {

  await dmnModeler.importXML(someDiagram);

  console.log('success!');
} catch (err) {

  console.error('something went wrong:', err);
}

Checkout the docs to learn more about the available distributions.

Build and Run

Prepare the project by installing all dependencies:

npm install

Then, depending on your use-case, you may run any of the following commands:

# build the library and run all tests
npm run all

# spin up a single local camunda platform modeler instance
npm run start:platform

# run the full development setup
npm run dev

Related

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

  • dmn-js: View and edit DMN 1.3 diagrams in the browser
  • diagram-js: Diagram rendering and editing toolkit

License

MIT

Uses dmn-js licensed under the bpmn.io license.

2.10.2

8 days ago

2.10.1

18 days ago

2.10.0

29 days ago

2.8.1

3 months ago

2.8.0

3 months ago

2.9.1

2 months ago

2.9.0

2 months ago

2.7.1

3 months ago

2.7.0

4 months ago

2.5.0

5 months ago

2.6.0

5 months ago

2.4.0

6 months ago

2.3.3

6 months ago

2.3.1

6 months ago

2.3.0

6 months ago

2.2.0

8 months ago

2.1.0

8 months ago

2.0.0

8 months ago

1.8.0

11 months ago

1.2.0

1 year ago

1.1.0

1 year ago

1.7.0

12 months ago

1.6.0

12 months ago

1.3.3

1 year ago

1.5.0

1 year ago

1.3.2

1 year ago

1.4.0

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.1

1 year ago

1.0.0

1 year ago

0.10.1

2 years ago

0.10.0

2 years ago

0.9.0

2 years ago

0.8.1

2 years ago

0.8.0

2 years ago

0.7.0

2 years ago

0.6.1

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.6.0

2 years ago

0.3.0

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago