Skip to content

jongomes/bpmn-js-token-simulation

 
 

Repository files navigation

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

About

A bpmn-js extension for token simulation

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 90.6%
  • CSS 7.1%
  • HTML 2.3%