bpmn-js
A bpmn 2.0 toolkit and web modeler
Last updated 2 years ago by barmac .
SEE LICENSE IN LICENSE · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install bpmn-js 
SYNC missed versions from official npm registry.

bpmn-js - BPMN 2.0 for the web

Build Status

View and edit BPMN 2.0 diagrams in the browser.

bpmn-js screencast

Installation

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

Usage

To get started, create a bpmn-js instance and render BPMN 2.0 diagrams in the browser:

const xml = '...'; // my BPMN 2.0 xml
const viewer = new BpmnJS({
  container: 'body'
});

try {
  const { warnings } = await viewer.importXML(xml);

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

Checkout our examples for many more supported usage scenarios.

Dynamic Attach/Detach

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

const viewer = new BpmnJS();

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

// detach the panel
viewer.detach();

Resources

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 modeler instance
npm start

# run the full development setup
npm run dev

You may need to perform additional project setup when building the latest development snapshot.

Related

bpmn-js builds on top of a few powerful tools:

  • bpmn-moddle: Read / write support for BPMN 2.0 XML in the browsers
  • diagram-js: Diagram rendering and editing toolkit

Contributing

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

Code of Conduct

By participating to this project, please uphold to our Code of Conduct.

License

Use under the terms of the bpmn.io license.

Current Tags

  • 2.5.4                                ...           backports (5 years ago)
  • 9.0.0-subprocesses.3                                ...           exp (3 years ago)
  • 11.5.0                                ...           latest (2 years ago)
  • 10.0.0-alpha.1                                ...           next (2 years ago)

274 Versions

  • 11.5.0                                ...           2 years ago
  • 11.4.1                                ...           2 years ago
  • 11.4.0                                ...           2 years ago
  • 11.3.1                                ...           2 years ago
  • 11.3.0                                ...           2 years ago
  • 11.2.0                                ...           2 years ago
  • 11.1.1                                ...           2 years ago
  • 11.1.0                                ...           2 years ago
  • 11.0.5                                ...           2 years ago
  • 11.0.4                                ...           2 years ago
  • 11.0.3                                ...           2 years ago
  • 11.0.1                                ...           2 years ago
  • 11.0.0                                ...           2 years ago
  • 10.3.0                                ...           2 years ago
  • 10.2.1                                ...           2 years ago
  • 10.2.0                                ...           2 years ago
  • 10.1.0                                ...           2 years ago
  • 10.0.0                                ...           2 years ago
  • 9.4.1                                ...           2 years ago
  • 9.4.0                                ...           2 years ago
  • 10.0.0-alpha.1                                ...           2 years ago
  • 9.3.2                                ...           2 years ago
  • 9.3.1                                ...           2 years ago
  • 9.3.0                                ...           2 years ago
  • 9.2.2                                ...           2 years ago
  • 9.2.1                                ...           2 years ago
  • 9.2.0                                ...           2 years ago
  • 9.1.0                                ...           3 years ago
  • 9.0.4                                ...           3 years ago
  • 9.0.3                                ...           3 years ago
  • 9.0.2                                ...           3 years ago
  • 9.0.1                                ...           3 years ago
  • 9.0.0                                ...           3 years ago
  • 8.10.0                                ...           3 years ago
  • 9.0.0-alpha.2                                ...           3 years ago
  • 9.0.0-alpha.1                                ...           3 years ago
  • 8.9.1                                ...           3 years ago
  • 8.9.0                                ...           3 years ago
  • 9.0.0-alpha.0                                ...           3 years ago
  • 8.8.3                                ...           3 years ago
  • 9.0.0-subprocesses.3                                ...           3 years ago
  • 9.0.0-subprocesses.2                                ...           3 years ago
  • 9.0.0-subprocesses.1                                ...           3 years ago
  • 8.8.2                                ...           3 years ago
  • 8.8.1                                ...           3 years ago
  • 8.8.0                                ...           3 years ago
  • 9.0.0-subprocesses.0                                ...           3 years ago
  • 8.7.3                                ...           3 years ago
  • 8.7.2                                ...           3 years ago
  • 8.7.1                                ...           3 years ago
  • 8.7.0                                ...           3 years ago
  • 8.6.2                                ...           3 years ago
  • 8.6.1                                ...           3 years ago
  • 8.6.0                                ...           4 years ago
  • 8.5.0                                ...           4 years ago
  • 8.4.0                                ...           4 years ago
  • 8.3.1                                ...           4 years ago
  • 8.3.0                                ...           4 years ago
  • 8.2.2                                ...           4 years ago
  • 8.2.1                                ...           4 years ago
  • 8.2.0                                ...           4 years ago
  • 8.1.0                                ...           4 years ago
  • 8.0.1                                ...           4 years ago
  • 8.0.0                                ...           4 years ago
  • 8.0.0-beta.0                                ...           4 years ago
  • 7.5.0                                ...           4 years ago
  • 7.4.2                                ...           4 years ago
  • 7.4.1                                ...           4 years ago
  • 7.4.0                                ...           4 years ago
  • 7.3.1                                ...           4 years ago
  • 7.3.0                                ...           4 years ago
  • 7.3.0-colors.1                                ...           4 years ago
  • 7.3.0-colors.0                                ...           4 years ago
  • 7.2.1                                ...           4 years ago
  • 7.2.0                                ...           4 years ago
  • 7.0.1                                ...           4 years ago
  • 7.0.0                                ...           5 years ago
  • 7.0.0-beta.0                                ...           5 years ago
  • 6.5.1                                ...           5 years ago
  • 6.5.0                                ...           5 years ago
  • 6.4.2                                ...           5 years ago
  • 6.4.1                                ...           5 years ago
  • 6.5.0-kah.1                                ...           5 years ago
  • 6.5.0-kah.0                                ...           5 years ago
  • 6.4.0                                ...           5 years ago
  • 6.3.5                                ...           5 years ago
  • 6.3.4                                ...           5 years ago
  • 6.3.3                                ...           5 years ago
  • 6.3.2                                ...           5 years ago
  • 6.3.1                                ...           5 years ago
  • 6.3.0                                ...           5 years ago
  • 6.2.1                                ...           5 years ago
  • 6.2.0                                ...           5 years ago
  • 6.1.2                                ...           5 years ago
  • 6.1.1                                ...           5 years ago
  • 6.1.0                                ...           5 years ago
  • 6.0.7                                ...           5 years ago
  • 6.0.6                                ...           5 years ago
  • 6.0.5                                ...           5 years ago
  • 6.0.4                                ...           5 years ago
  • 6.0.3                                ...           5 years ago
  • 6.0.2                                ...           5 years ago
  • 6.0.1                                ...           5 years ago
  • 6.0.0                                ...           5 years ago
  • 6.0.0-beta.0                                ...           5 years ago
  • 5.1.2                                ...           5 years ago
  • 5.1.1                                ...           5 years ago
  • 5.1.0                                ...           5 years ago
  • 5.0.5                                ...           5 years ago
  • 5.0.4                                ...           5 years ago
  • 5.0.3                                ...           5 years ago
  • 5.0.2                                ...           5 years ago
  • 5.0.1                                ...           5 years ago
  • 5.0.0                                ...           5 years ago
  • 5.0.0-beta.4                                ...           5 years ago
  • 5.0.0-beta.3                                ...           5 years ago
  • 5.0.0-beta.2                                ...           5 years ago
  • 5.0.0-beta.1                                ...           5 years ago
  • 5.0.0-beta.0                                ...           5 years ago
  • 4.0.4                                ...           5 years ago
  • 4.0.3                                ...           5 years ago
  • 4.0.2                                ...           5 years ago
  • 4.0.1                                ...           5 years ago
  • 4.1.0-beta.0                                ...           5 years ago
  • 4.0.0                                ...           5 years ago
  • 4.0.0-beta.11                                ...           5 years ago
  • 4.0.0-beta.10                                ...           5 years ago
  • 4.0.0-beta.9                                ...           5 years ago
  • 3.5.0                                ...           5 years ago
  • 4.0.0-beta.8                                ...           5 years ago
  • 4.0.0-beta.7                                ...           5 years ago
  • 4.0.0-beta.6                                ...           5 years ago
  • 4.0.0-beta.5                                ...           5 years ago
  • 4.0.0-beta.4                                ...           5 years ago
  • 4.0.0-beta.3                                ...           5 years ago
  • 4.0.0-beta.2                                ...           5 years ago
  • 4.0.0-beta.1                                ...           5 years ago
  • 2.5.4                                ...           5 years ago
  • 3.4.3                                ...           5 years ago
  • 3.4.2                                ...           5 years ago
  • 2.5.3                                ...           5 years ago
  • 3.4.1                                ...           6 years ago
  • 3.4.0                                ...           6 years ago
  • 3.3.1                                ...           6 years ago
  • 3.3.0                                ...           6 years ago
  • 3.2.3                                ...           6 years ago
  • 3.2.2                                ...           6 years ago
  • 3.2.1                                ...           6 years ago
  • 3.2.0                                ...           6 years ago
  • 3.1.1                                ...           6 years ago
  • 3.1.0                                ...           6 years ago
  • 3.0.3                                ...           6 years ago
  • 3.0.2                                ...           6 years ago
  • 3.0.1                                ...           6 years ago
  • 3.0.0                                ...           6 years ago
  • 2.5.2                                ...           6 years ago
  • 2.5.1                                ...           6 years ago
  • 2.5.0                                ...           6 years ago
  • 2.4.1                                ...           6 years ago
  • 2.4.0                                ...           6 years ago
  • 2.3.1                                ...           6 years ago
  • 2.3.0                                ...           6 years ago
  • 2.2.1                                ...           6 years ago
  • 2.2.0                                ...           6 years ago
  • 2.1.0                                ...           7 years ago
  • 2.1.0-0                                ...           7 years ago
  • 2.0.1                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.3.3                                ...           7 years ago
  • 1.3.2                                ...           7 years ago
  • 1.3.1                                ...           7 years ago
  • 1.3.0                                ...           7 years ago
  • 1.2.1                                ...           7 years ago
  • 1.2.0                                ...           7 years ago
  • 1.1.1                                ...           7 years ago
  • 1.1.0                                ...           7 years ago
  • 1.0.4                                ...           7 years ago
  • 1.0.3                                ...           7 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
  • 0.31.0                                ...           7 years ago
  • 0.30.0                                ...           7 years ago
  • 0.29.0                                ...           7 years ago
  • 0.28.4                                ...           7 years ago
  • 0.28.3                                ...           7 years ago
  • 0.28.2                                ...           7 years ago
  • 0.28.1                                ...           7 years ago
  • 0.28.0                                ...           7 years ago
  • 0.27.7                                ...           7 years ago
  • 0.27.6                                ...           7 years ago
  • 0.27.5                                ...           7 years ago
  • 0.27.4                                ...           7 years ago
  • 0.27.3                                ...           7 years ago
  • 0.27.2                                ...           7 years ago
  • 0.27.1                                ...           7 years ago
  • 0.27.0                                ...           7 years ago
  • 0.27.0-1                                ...           7 years ago
  • 0.27.0-0                                ...           7 years ago
  • 0.26.6                                ...           7 years ago
  • 0.26.5                                ...           7 years ago
  • 0.26.4                                ...           7 years ago
  • 0.26.3                                ...           7 years ago
  • 0.26.1                                ...           7 years ago
  • 0.26.0                                ...           7 years ago
  • 0.25.2                                ...           7 years ago
  • 0.25.1                                ...           7 years ago
  • 0.25.0                                ...           7 years ago
  • 0.24.0                                ...           7 years ago
  • 0.23.3                                ...           7 years ago
  • 0.9.3                                ...           7 years ago
  • 0.23.2                                ...           7 years ago
  • 0.23.1                                ...           7 years ago
  • 0.23.0                                ...           7 years ago
  • 0.22.1                                ...           7 years ago
  • 0.22.0                                ...           7 years ago
  • 0.21.0                                ...           7 years ago
  • 0.20.7                                ...           8 years ago
  • 0.20.6                                ...           8 years ago
  • 0.20.5                                ...           8 years ago
  • 0.20.4                                ...           8 years ago
  • 0.20.3                                ...           8 years ago
  • 0.20.2                                ...           8 years ago
  • 0.20.1                                ...           8 years ago
  • 0.20.0                                ...           8 years ago
  • 0.19.0                                ...           8 years ago
  • 0.18.4                                ...           8 years ago
  • 0.18.3                                ...           8 years ago
  • 0.18.2                                ...           8 years ago
  • 0.18.1                                ...           8 years ago
  • 0.18.0                                ...           8 years ago
  • 0.17.3                                ...           8 years ago
  • 0.17.2                                ...           8 years ago
  • 0.17.1                                ...           8 years ago
  • 0.17.0                                ...           8 years ago
  • 0.16.2                                ...           8 years ago
  • 0.16.1                                ...           8 years ago
  • 0.16.0                                ...           8 years ago
  • 0.15.2                                ...           9 years ago
  • 0.15.1                                ...           9 years ago
  • 0.15.0                                ...           9 years ago
  • 0.14.1                                ...           9 years ago
  • 0.14.0                                ...           9 years ago
  • 0.13.3                                ...           9 years ago
  • 0.13.2                                ...           9 years ago
  • 0.13.1                                ...           9 years ago
  • 0.13.0                                ...           9 years ago
  • 0.12.1                                ...           9 years ago
  • 0.12.0                                ...           9 years ago
  • 0.11.0                                ...           9 years ago
  • 0.10.3                                ...           10 years ago
  • 0.10.2                                ...           10 years ago
  • 0.10.1                                ...           10 years ago
  • 0.10.0                                ...           10 years ago
  • 0.9.2                                ...           10 years ago
  • 0.9.1                                ...           10 years ago
  • 0.9.0                                ...           10 years ago
  • 0.8.0                                ...           10 years ago
  • 0.7.0                                ...           10 years ago
  • 0.6.1                                ...           10 years ago
  • 0.6.0                                ...           10 years ago
  • 0.5.1                                ...           10 years ago
  • 0.5.0                                ...           10 years ago
  • 0.4.1                                ...           10 years ago
  • 0.4.0                                ...           10 years ago
  • 0.3.0                                ...           10 years ago
  • 0.2.1                                ...           10 years ago
  • 0.2.0                                ...           10 years ago
  • 0.1.3                                ...           11 years ago
  • 0.1.2                                ...           11 years ago
  • 0.1.1                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
  • 0.0.3                                ...           11 years ago
  • 0.0.2                                ...           11 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (9)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |