Nodes to contain within document bound and not allowed to go beyond viewport

I have a canvas with no scroll and zoom allowed,
I’m expecting a canvas with no object being able to placed beyound viewport. currently if i drag and drop an object on corner/edge of diagram, it scrolls automatically and i’m loosing object in view port.

this example doesnot allow the scroll beyond viewport, but it does allow moving object beyond view port which adds vertical/horizontal scroll to diagram, now as i dont have zoom neither pan i loose my diyagram somewhere in document coordinate.

Set Diagram.autoScrollRegion to zero.

You might want to examine Absolute positioning within the viewport

Thanks a lot Walter!