Refreshing Diagram Layout

Hello,

I have a situation where a DIV is resized:

It works, but the only changes to the desired size when I click over it.

Is there a way to force it to refresh?
Something like:

Thanks

Never mind, this did the trick:

myDiagram.layout.invalidateLayout();

Resizing Diagrams -- Northwoods Software suggests that you call Diagram.requestUpdate().

Nice. Thanks again!