I am drawing a diagram which is smaller than the window/viewport it is being drawn into. I am calling zoomToFit() but it seems to draw only according to the dimensions of the actual parts. If I reduce the window to smaller than the diagram it works as expected by reducing the diagram down to a size that it still displays fully.
How do I go about trying to increase the larger size?