Viewport cordinate to set (0,0)

Can we set the view port co-ordinates to (0,0) instead of -infinity, -infinity. Because i need all the object’s Location to be positive number

Have you seen this sample? Absolute positioning within the viewport But it imposes maximum X and Y values, whereas I am guessing that you don’t need to set a Diagram.fixedBounds nor do you need to turn off scrolling and zooming.

Instead I suspect all you need to do is to provide a Diagram | GoJS API function that prevents the Diagram.position from going negative in either axis.