1.9.1 • Published 6 months ago

camunda-bpmn-js-behaviors v1.9.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

camunda-bpmn-js-behaviors

CI

Behaviors for bpmn-js ensuring that parts of the model that are specific to Camunda 7 and 8 are maintained. For example, the Camunda 8 behaviors will ensure that a bpmn:BusinessRuleTask element will not have a zeebe:CalledDecision and zeebe:TaskDefinition extension element at the same time.

Usage

Camunda 7

import camundaPlatformBehaviors from 'camunda-bpmn-js-behaviors/lib/camunda-platform';

const bpmnModeler = new BpmnModeler({
  container: '#container',
  additionalModules: [
    camundaPlatformBehaviors
  ]
});

bpmnModeler.importXML('...');

Camunda 8

import camundaCloudBehaviors from 'camunda-bpmn-js-behaviors/lib/camunda-cloud';

const bpmnModeler = new BpmnModeler({
  container: '#container',
  additionalModules: [
    camundaCloudBehaviors
  ]
});

bpmnModeler.importXML('...');

Development Setup

Prepare the project by installing all dependencies:

npm install

Then, 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 dev

License

MIT

Uses bpmn-js licensed under the bpmn.io license.

1.9.1

6 months ago

1.9.0

7 months ago

1.8.0

7 months ago

1.7.2

8 months ago

1.7.1

8 months ago

1.7.0

8 months ago

1.6.1

10 months ago

1.6.0

11 months ago

1.5.0

12 months ago

1.4.0

12 months ago

1.3.0

1 year ago

1.2.3

1 year ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.3.0

3 years ago

0.4.0

3 years ago

0.2.1

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago