Using Incremental layout (Default layout with extension)
desiredSize: new go.Size(50, 35)
I am using the above line with static sizes to cloud pictures to display the below diagram
Here Vertical scroll was not there, since the size is 50, 35.
But When many nodes ( cloud ) are there, I could obvisouly get vertical scroll.
To avoid scroll, every time after layout has been completed, I have checked Whether Offset height is less than scrollHeight.
isScroll = content.offsetHeight < content.scrollHeight;
If YES, then I am reducing the size by 10 as size = size -10.When I am doing this, I am getting the diagram with vertical scroll with lot of space between them as follows.
Can you Please help me to avoid vertical scroll with minimal space between them as in the 1st image??