@workite-io/workite-bpmn-js-behaviors
v0.1.1
Published
Workite behaviors for bpmn-js
Maintainers
Readme
@workite-io/workite-bpmn-js-behaviors
Behaviors for bpmn-js ensuring that Workite-specific parts of a BPMN model are maintained. For example, the behaviors ensure that a bpmn:BusinessRuleTask does not have workite:CalledDecision and workite:TaskDefinition extension elements at the same time.
Usage
import workiteBehaviors from '@workite-io/workite-bpmn-js-behaviors/lib/workite';
const bpmnModeler = new BpmnModeler({
container: '#container',
additionalModules: [
workiteBehaviors
]
});
bpmnModeler.importXML('...');Development Setup
Prepare the project by installing all dependencies:
npm installThen, depending on your use-case, you may run any of the following commands:
# lint and run tests once
npm run all
# run the tests in watch mode
npm run devLicense
MIT
Uses bpmn-js licensed under the bpmn.io license.
