how to disable user to drag any shape by using mouse.
Check this Sandbox out. Here, we override the dragging module via additional modules so that it does not work anymore.
Having said that, you might want to use the bpmn-js as a Viewer rather than a Modeler:
import BpmnJS from "bpmn-js/lib/Viewer";
If you go for a Viewer, you don’t have to disable dragging, since it’d already be not there as a feature.
Your answer is so greatful! Thank you very very much!
If you visit Beijing, China, I’ll treat you to dinner