Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bpmn-io/bpmn-js-disable-collapsed-subprocess

A bpmn-js extension which disables modeling collapsed subprocess via replace menu.
https://github.com/bpmn-io/bpmn-js-disable-collapsed-subprocess

Last synced: 3 months ago
JSON representation

A bpmn-js extension which disables modeling collapsed subprocess via replace menu.

Awesome Lists containing this project

README

        

# bpmn-js-disable-collapsed-subprocess

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

## Installation

Install via [npm](http://npmjs.com/).

```bash
npm install bpmn-js-disable-collapsed-subprocess
```

Add as additional module to [bpmn-js](https://github.com/bpmn-io/bpmn-js).

### Modeler

```javascript
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