I have a palette where I can add/remove node. Is it possible that the height should only change when I drop the nodes? How can I do that? The current behavior is that when the node entered the palette, it starts computing for the spaces for the new nodes.
I suggest that you set the layout invalidation Conditions on your GridLayout:
<go:GridLayout Conditions=“InitialOnly” … />
And then implement a Diagram.ExternalObjectsDropped event handler to explicitly call Diagram.LayoutDiagram.
The palette is still resizing.
How is your Palette now defined, including any event handlers?