@camunda/improved-canvas
v1.7.5
Published
[![Build Status](https://github.com/camunda/improved-canvas/workflows/CI/badge.svg)](https://github.com/camunda/improved-canvas/actions?query=workflow:CI)
Downloads
3,750
Maintainers
Keywords
Readme
@camunda/improved-canvas
Improvements or reworks of the bpmn-js canvas.
Installation
Install via npm.
npm install @camunda/improved-canvas
Usage
For the BPMN modeler use the BpmnImprovedCanvasModule
.
import { BpmnImprovedCanvasModule } from '@camunda/improved-canvas';
const modeler = new Modeler({
additionalModules: [
BpmnImprovedCanvasModule
]
});
For the BPMN viewer use the HighContrastCanvasModule
.
import { HighContrastCanvasModule } from '@camunda/improved-canvas';
const viewer = new NavigatedViewer({
additionalModules: [
HighContrastCanvasModule
]
});
License
MIT