camunda-bpmn-js
TypeScript icon, indicating that this package has built-in type declarations

4.20.1 • Public • Published

camunda-bpmn-js

CI

Embeddable Camunda modeling distributions based on bpmn-js.

Usage

This project is designed to deliver different BPMN modeling distributions. Instead of creating custom Modeler implementations based on bpmn-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-bpmn-js@0.1.0/dist/assets/camunda-platform-modeler.css" />

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

or install it via npm

import BpmnModeler from 'camunda-bpmn-js/lib/camunda-platform/Modeler';

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

into your web-application.

var bpmnModeler = new BpmnModeler({
  container: '#canvas',
  propertiesPanel: {
    parent: '#properties'
  }
});

try {

  await bpmnModeler.importXML(someDiagram);

  console.log('success!');
  bpmnModeler.get('canvas').zoom('fit-viewport');
} 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-bpmn-js builds on top of a few powerful tools:

License

MIT

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.20.1218latest
4.0.0-01next

Version History

VersionDownloads (Last 7 Days)Published
4.20.1218
4.20.0702
4.19.0842
4.18.030
4.17.051
4.16.012
4.15.035
4.14.07
4.13.01
4.12.13
4.12.05
4.11.026
4.10.04
4.9.02
4.8.021
4.7.04
4.6.33
4.6.21
4.6.11
4.6.01
4.5.145
4.5.01,016
4.4.11
4.4.01
4.3.35
4.3.22
4.3.11
4.3.05
4.2.039
4.1.11
4.1.02
4.0.01
3.13.0121
3.12.1434
3.12.053
3.11.081
3.10.22
3.10.123
3.10.01
3.9.01
3.8.066
3.7.01
3.6.11
3.6.01
3.5.01
4.0.0-01
3.4.075
3.3.11
3.3.01
3.2.01
3.1.28
3.1.11
3.1.01
3.0.01
2.7.044
2.6.11
2.6.01
2.5.01
2.4.011
2.3.11
2.3.01
2.2.01
2.1.149
2.1.01
2.0.249
2.0.11
2.0.012
1.5.02
1.4.025
1.3.11
1.3.01
1.2.02
1.1.21
1.1.11
1.1.01
1.0.061
0.24.12
0.24.01
0.23.11
0.23.01
0.22.01
0.21.13
0.21.01
0.20.02
0.19.013
0.18.01
0.17.22
0.17.12
0.17.02
0.16.114
0.16.01
0.15.322
0.15.217
0.15.12
0.15.02
0.14.01
0.13.22
0.13.12
0.13.02
0.13.0-alpha.84
0.13.0-alpha.71
0.13.0-alpha.61
0.13.0-alpha.52
0.13.0-alpha.42
0.13.0-alpha.32
0.13.0-alpha.21
0.13.0-drilldown.01
0.13.0-alpha.11
0.13.0-alpha.02
0.12.25
0.12.11
0.12.02
0.11.52
0.11.42
0.11.32
0.11.22
0.11.11
0.11.02
0.10.01
0.9.314
0.9.21
0.9.12
0.9.01
0.8.014
0.7.01
0.6.02
0.5.22
0.5.12
0.5.011
0.5.0-12
0.5.0-02
0.4.011
0.3.02
0.2.021
0.1.0350
0.1.0-alpha.12
0.1.0-alpha.01

Package Sidebar

Install

npm i camunda-bpmn-js

Weekly Downloads

4,807

Version

4.20.1

License

MIT

Unpacked Size

24.3 MB

Total Files

80

Last publish

Collaborators

  • abdul99ahad
  • jarekdanielak
  • vsgoulart
  • skaiir-camunda
  • marstamm
  • bpmn-io-admin
  • nikku
  • barmac
  • philippfromme
  • maxtru
  • pinussilvestrus