Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bpmn-io/bpmn-js-collapse-subprocess
bpmn-js extension which enhances subprocess modeling with replace menu
https://github.com/bpmn-io/bpmn-js-collapse-subprocess
Last synced: 3 months ago
JSON representation
bpmn-js extension which enhances subprocess modeling with replace menu
- Host: GitHub
- URL: https://github.com/bpmn-io/bpmn-js-collapse-subprocess
- Owner: bpmn-io
- Created: 2019-11-07T15:55:00.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-09T09:22:11.000Z (about 4 years ago)
- Last Synced: 2024-10-31T07:34:52.160Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 296 KB
- Stars: 4
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-bpmn-io - bpmn-js-collapse-subprocess - An extension that re-enables to collapse sub process via replace menu (Extensions)
README
# bpmn-js collapse subprocess
A bpmn-js extension that re-enables to collapse sub process via replace menu.
## Installation
Install via [npm](http://npmjs.com/).
```bash
npm install bpmn-js-collapse-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 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