Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: 2 months ago
JSON representation

BPMN-JS plugin to allow task resizing in diagrams

Awesome Lists containing this project

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