Prevent elements from being colored in bpmn-js-token-simulation@0.33.0

In recent versions of token simulation this changed to what we initially posted. You now have to mock the ElementColors service:

new BpmnJS({
  additionalModules: [
    bpmnTokenSimulationModule,
    {
      elementColors: [ 'value', {
        add() { },
        remove() { }
      } ]
    }
  ]
});
1 Like