Currently, when the diagram is set to readonly mode, the only way to pan with the mouse is by clicking on a region of the background that is not a node or group. Is there a way to allow the user to pan even when clicking a group or node?
Thanks
Currently, when the diagram is set to readonly mode, the only way to pan with the mouse is by clicking on a region of the background that is not a node or group. Is there a way to allow the user to pan even when clicking a group or node?
Thanks
Try setting Diagram.allowSelect = false. That will cause DraggingTool.canStart() to return false, which will allow the PanningTool to run.
If you still want to allow selection by the user, try setting Diagram.allowMove and .allowCopy = false.
That did it. Thanks!