How to panning outside the canvas?

Panning or zooming will not cause nodes on the edge of canvas to go outside if the canvas can hold all the nodes without scroll bar by default strategy in gojs. In other words, nodes positions will be reset in the canvas after zooming, and panning will not allow nodes exceeding bounds of the canvas. How can I changes these?

Thanks, but I have to use the previous released gojs which does not have the “scrollMode” property. Is there any way to get this feature?

Try enlarging the Diagram.padding.