1.0.0 • Published 3 years ago
kaka-bpmn v1.0.0
kaka-bpm BPMN 2.0 for the web
View and edit kaka 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');
}
});
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();
1.0.0
3 years ago