diagram-js-grid
v1.1.0
Published
A visual grid for diagram-js
Downloads
16,400
Readme
diagram-js-grid
A minimal visual grid for diagram-js.
Features
- Shows visual grid
- Supports modeler and viewer
- Hooks into
gridSnapping
activation
Usage
Extend your diagram-js application with the grid module. We'll use bpmn-js as an example:
import BpmnModeler from 'bpmn-js/lib/Modeler';
import gridModule from 'diagram-js-grid';
var bpmnModeler = new BpmnModeler({
additionalModules: [
gridModule
]
});
License
MIT