Open this page in the API Guide

RelationshipDiagram.invalidateSize Method

Notifies the control that its container element size may have changed.