Alternate of RescaleToFit option in goXam

What is the alternate of RescaleToFit option in goXam as it is available in GoDiagram

That depends on the context of what you want to do and how and when.

If you want a RoutedCommand, one is predefined as the value of Commands.ZoomToFit.

That command calls the CommandHandler.ZoomToFit method.

That method in turns calls the DiagramPanel.ZoomToFit method.

ZoomToFit is not working properly. I have raised the issue under “ZoomToFit not always working correctly” topic. as per your given suggestion ZoomToFit is not working properly.