Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/bpmn-io/bpmn-js-disable-collapsed-subprocess
- Owner: bpmn-io
- Created: 2019-11-20T15:29:07.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T09:51:55.000Z (7 months ago)
- Last Synced: 2024-04-14T11:10:10.059Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 612 KB
- Stars: 1
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-bpmn-io - bpmn-js-disable-collapsed-subprocess - An extension which disables modeling collapsed subprocess via replace menu (Extensions)
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