Home

Awesome

bpmn-js collapse subprocess

A bpmn-js extension that re-enables to collapse sub process via replace menu.

Installation

Install via npm.

npm install bpmn-js-collapse-subprocess

Add as additional module to bpmn-js.

Modeler

var BpmnModeler = require('bpmn-js/lib/Modeler');
var collapseSubprocessModule = require('bpmn-js-collapse-subprocess');

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

Viewer

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

Licence

MIT