bpmn-js Token Simulation
A bpmn-js extension for token simulation.
Looking for the Camunda Modeler Plugin? Get it here!
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
- Exclusive Gateway
- Inklusive Gateway
- Parallel Gateway
- Task
Licence
MIT