npm.io
6.0.10 • Published 5 years ago

jeeplus-bpmn

Licence
SEE LICENSE IN LICENSE
Version
6.0.10
Deps
12
Size
13.0 MB
Vulns
0
Weekly
0
Stars
9.6K

jeeplus-bpm BPMN 2.0 for the web

View and edit jeeplus BPMN 2.0 diagrams in the browser.

Installation

Usage

To get started

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

viewer.importXML(xml, function(err) {

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

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:

var viewer = new BpmnJS();

// 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:

bpmn-js builds on top of a few powerful tools

License

Use under the terms of the [http://wwww.jeeplus.org]

Keywords