bpmn-os / bpmnos-modeller

A BPMN modeller for optimization and simulation
MIT License
0 stars 0 forks source link

A BPMN 2.0 modeller for optimization and simulation

This modeller uses bpmn-js and bpmn-js-properties-panel. It implements a BPMN 2.0 modeler that allows you to edit execution related properties via a properties panel.

Building the modeller

You need a NodeJS development stack with npm and installed to build the project.

To install all project dependencies execute

npm install

Build the example using browserify via

npm run all

You may also spawn a development setup by executing

npm run dev

Both tasks generate the distribution ready client-side modeller application into the dist folder.

Serve the application locally or via a web server (nginx, apache, embedded).

Convert BPMN to SVG

Create a link to the diagram converter by

sudo npm link

After this, you can convert a BPMN model to SVG using

bpmn2svg <BPMN filename> [-o <outputDir>] [-s <serverURL>]

This command creates an SVG-file for the main diagram and each collapsed subprocesses and saves them in the specified output directory. If no output directory is specified the current folder is used. Tooltips for each BPMN element are automatically added.