This example uses bpmn-js to implement a modeler for BPMN 2.0 process diagrams. It serves as the basis of the bpmn-js demo application available at demo.bpmn.io.
This example is a node-style web application that builds a user interface around the bpmn-js BPMN 2.0 modeler.
You need a NodeJS development stack with npm and grunt installed to build the project.
To install all project dependencies execute
npm install
Build the application (including bpmn-js) using browserify via
grunt
You may also spawn a development setup by executing
grunt auto-build
Both tasks generate the distribution ready client-side modeler application into the dist
folder.
Serve the application locally or via a web server (nginx, apache, embedded).