Unlimited drag the diagram

How can I set the diagram can be unlimited drag?Thx

Are you asking about how to allow the contents of a diagram to be scrolled or panned as far as the user wants, rather than limiting scrolling/panning to the extent of the Diagram.documentBounds?

If so, the answer is to set http://gojs.net/latest/api/symbols/Diagram.html#scrollMode. This is demonstrated by this sample: http://gojs.net/latest/samples/scrollModes.html

Yeah,that’s it,thank you!