Remove dragging of the diagram


#1

After my diagram is rendered, i want to remove the dragging part of svg. I dont want to be able to drag the diagram. How can it be done?


#2

Exclude the MoveCanvas from your modeler build, if you’d like to disable canvas movement all together.


#3

ok so if i have bpmn tool integrated with my application. i am installing directly Modeler.js into my node modules folder. so i have to override the nodemodules folder file right?


#4

No, please do not override stuff in your node_modules.

Instead, consult our examples and learn how to extend bpmn-js without monkey patching.