Skip to content

Latest commit

 

History

History
82 lines (58 loc) · 1.44 KB

README.md

File metadata and controls

82 lines (58 loc) · 1.44 KB

Looking for the Camunda Modeler Plugin? Get it here!

bpmn-js Token Simulation

Build Status

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 start

Check out localhost:8080.

Supported Elements

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

Licence

MIT