A bpmn-js extension for token simulation
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
docs
example
lib
.gitignore
README.md
index.js
package-lock.json
package.json
webpack.config.js

README.md

Looking for the Camunda Modeler Plugin? Get it here!

bpmn-js Token Simulation

A bpmn-js extension for token simulation.

Screencast

Installation

Install via npm.

npm install bpmn-js-token-simulation

Add as additional module to bpmn-js.

Modeler

var BpmnModeler = require('bpmn-js/lib/Modeler');
var tokenSimulation = require('bpmn-js-token-simulation');

var modeler = new BpmnModeler({
  container: '#canvas',
  additionalModules: [
    tokenSimulation
  ]
});

Viewer

var BpmnViewer = require('bpmn-js/lib/NavigatedViewer');
var tokenSimulation = require('bpmn-js-token-simulation/lib/viewer');

var viewer = new BpmnViewer({
  container: '#canvas',
  additionalModules: [
    tokenSimulation
  ]
});

Example

Install dependencies.

npm install

Run example.

npm run dev

Check out localhost:9013.

Supported Elements

  • Start Event
  • Intermediate Catch Event
  • Intermediate Throw Event
  • End Event
  • Terminate End Event
  • Boundary Event (attached to Subprocess)
  • Exclusive Gateway
  • Parallel Gateway
  • Event-based Gateway
  • Task
  • Subprocess

Licence

MIT