Home

Awesome

bpmn-js-disable-collapsed-subprocess

A bpmn-js extension which disables modeling of collapsed sub-processes.

Installation

Install via npm.

npm install bpmn-js-disable-collapsed-subprocess

Add as additional module to bpmn-js.

Modeler

var BpmnModeler = require('bpmn-js/lib/Modeler');
var disableCollapsedSubprocessModule = require('bpmn-js-disable-collapsed-subprocess');

var modeler = new BpmnModeler({
  container: '#canvas',
  additionalModules: [
    disableCollapsedSubprocessModule
  ]
});

Viewer

This extension is useless for the Viewer as it changes only the modeling actions.

Licence

MIT