diagram-js-grid

1.0.0 • Public • Published

diagram-js-grid

Build Status

A minimal visual grid for diagram-js.

Grid

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

Readme

Keywords

Package Sidebar

Install

npm i diagram-js-grid

Weekly Downloads

3,059

Version

1.0.0

License

MIT

Unpacked Size

28.1 kB

Total Files

7

Last publish

Collaborators

  • jarekdanielak
  • vsgoulart
  • skaiir-camunda
  • marstamm
  • bpmn-io-admin
  • nikku
  • barmac
  • philippfromme
  • maxtru