Looking for the Camunda Modeler Plugin? Get it here!
bpmn-js Token Simulation
A BPMN 2.0 specification compliant token simulator, built as a bpmn-js extension. Try it out.
Installation
Install via npm.
npm install bpmn-js-token-simulation
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:
npm run all
npm start
npm run dev
Licence
MIT