I have an angular app and have implemented the library and I want to restrict the movement of the diagram to be in a way so it can not disappear from the screen or be inside the bounds of the canvas. Is there a method that can help me achieve this ? Or can I see a working example?
Thank you.