bpmn-js-token-simulation

esm Styles
bpmn-js token simulation extension
Version 0.38.1 License MIT
INSTALL
Type:
Version:
- Static
- Latest Patch
- Latest Minor
- Latest Major
- 0.38.1
- 0.38.0
- 0.37.0
- 0.36.3
- 0.36.2
- 0.36.1
- 0.36.0
- 0.35.1
- 0.35.0
- 0.34.5
- 0.34.4
- 0.34.3
- 0.34.2
- 0.34.1
- 0.34.0
- 0.33.2
- 0.33.1
- 0.33.0
- 0.32.0
- 0.31.1
- 0.31.0
- 0.30.2
- 0.30.1
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.1
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.2
- 0.21.1
- 0.21.0
- 0.20.0
- 0.19.3
- 0.19.2
- 0.19.1
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.1
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.1
- 0.11.0
- 0.10.0
- 0.9.1
- 0.9.0
- 0.8.1
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- 0.25.0-0
<script type="module"> import bpmnJsTokenSimulation from 'https://cdn.jsdelivr.net/npm/bpmn-js-token-simulation@0.38.1/+esm' </script>
bpmn-js Token Simulation
A BPMN 2.0 specification compliant token simulator, built as a bpmn-js extension.
Try it on the classic booking example or checkout the full capability demo.
Installation
Install via npm.
npm install bpmn-js-token-simulation
Usage
Add as additional module to bpmn-js.
Modeler
import BpmnModeler from 'bpmn-js/lib/Modeler';
import TokenSimulationModule from 'bpmn-js-token-simulation';
const modeler = new BpmnModeler({
container: '#canvas',
additionalModules: [
TokenSimulationModule
]
});
Viewer
import BpmnViewer from 'bpmn-js/lib/NavigatedViewer';
import TokenSimulationModule from 'bpmn-js-token-simulation/lib/viewer';
const viewer = new BpmnViewer({
container: '#canvas',
additionalModules: [
TokenSimulationModule
]
});
Build and Run
Prepare the project by installing all dependencies:
npm install
Then, depending on your use-case you may run any of the following commands:
# build the library and run all tests
npm run all
# run the full development setup
npm run dev
# spin up the example
npm run start:example
Additional Resources
- Talk: Making of token simulation - The case for token simulation and how it builds on top of bpmn-js
- Talk: Token simulation internals - Detailed walk through the simulators core
- Talk: Your next BPMN engine - How we turned this project into a BPMN 2.0 spec compliant simulator
- Camunda Modeler Token Simulation plug-in - Token simulation for Camunda users
Licence
MIT