0.0.3 • Published 5 years ago

hj_bpmn-js-token-simulation v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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

  • 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