Size of rectangle around your figure can be kept into your model class.
And when you add figure to viewer , refreshVisuals method of this model's
editPart , assigns size of this rectangle as bound to figure created by
editPart.
So now by changing size from model , and by firePropChange to call
refreshVisuals of EditPart , you can change size of this outer rectangle.