bpmn-js-task-resize
v1.2.0
Published
BPMN-JS plugin to allow task resizing in diagrams
Downloads
1,997
Readme
bpmn-js-task-resize
BPMN-JS plugin to allow task resizing in diagrams.
Usage
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:
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