Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ElCondor1969/bpmn-js-task-resize
BPMN-JS plugin to allow task resizing in diagrams
https://github.com/ElCondor1969/bpmn-js-task-resize
Last synced: 3 months ago
JSON representation
BPMN-JS plugin to allow task resizing in diagrams
- Host: GitHub
- URL: https://github.com/ElCondor1969/bpmn-js-task-resize
- Owner: ElCondor1969
- License: mit
- Created: 2019-04-04T17:50:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-15T09:46:28.000Z (almost 2 years ago)
- Last Synced: 2024-03-14T21:05:12.679Z (11 months ago)
- Language: JavaScript
- Size: 185 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bpmn-io - bpmn-js-task-resize - An extension to allow tasks being resizable (Extensions)
README
# bpmn-js-task-resize
BPMN-JS plugin to allow task resizing in diagrams.## Usage
```javascript
import BpmnModeler from 'bpmn-js/lib/Modeler';import resizeTask from 'bpmn-js-task-resize/lib';
var bpmnJS = new BpmnModeler({
additionalModules: [
resizeTask
],
taskResizingEnabled: true,
});
```In order to allow resize events to, set the `eventResizingEnabled` config:
```javascript
import BpmnModeler from 'bpmn-js/lib/Modeler';import resizeTask from 'bpmn-js-task-resize/lib';
var bpmnJS = new BpmnModeler({
additionalModules: [
resizeTask
],
taskResizingEnabled: true,
eventResizingEnabled: true
});
```## Building
To build, run:
```
npm install
npm run bundle
```