diff --git a/lib/Modeler.js b/lib/Modeler.js index 6509a720..1f44b4d5 100644 --- a/lib/Modeler.js +++ b/lib/Modeler.js @@ -20,6 +20,7 @@ import ContextPadModule from './features/context-pad'; import CopyPasteModule from './features/copy-paste'; import DistributeElementsModule from './features/distribute-elements'; import EditorActionsModule from './features/editor-actions'; +import GridSnappingModule from 'diagram-js/lib/features/grid-snapping'; import KeyboardModule from './features/keyboard'; import KeyboardMoveSelectionModule from 'diagram-js/lib/features/keyboard-move-selection'; import LabelEditingModule from './features/label-editing'; @@ -210,6 +211,7 @@ Modeler.prototype._modelingModules = [ CopyPasteModule, DistributeElementsModule, EditorActionsModule, + GridSnappingModule, KeyboardModule, KeyboardMoveSelectionModule, LabelEditingModule,