An example of a bpmn web modeler using bpmn-js It loads a bpmn 2.0 file, expects it to have bpmndi inside and views it in the browser.
The code here demostrates:
- Uses saveSVG to save the diagram as SVG
- Uses saveXML to save the diagram in XML BPMN format
- Support
Undo
andRedo
operations by clickingu
andr
on the keyboard respectively
How to Run:
- Clone
- Run
node index.js
- In your browser, navigate to
localhost:80
- Click the button you see in order to load the bpmn xml and display the diagram