vmes-flowable
Version:
ceshibao
67 lines (37 loc) • 1 kB
Markdown
View and edit jeeplus BPMN 2.0 diagrams in the browser.
To get started
```javascript
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](http://www.jeeplus.org) for many
more supported usage scenarios.
You may attach or detach the viewer dynamically to any element on the page, too:
```javascript
var viewer = new BpmnJS();
// attach it to some element
viewer.attachTo('#container');
// detach the panel
viewer.detach();
```
* [Demo](http://demo.jeeplus.org)
Perform the following steps to build the library, including running all tests:
bpmn-js builds on top of a few powerful tools
Use under the terms of the [http://wwww.jeeplus.org]