Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Autosize Elements

You can autosize an element or group of elements in a diagram to the default size for the element type.

As an example, the default size for a Class is 90 x 70 pixels at 100% zoom. However, if the element contains more information than the default size can show (such as a long name, long attributes or additional compartments) the autosize option resizes the element to the minimum size for revealing the information.

The size change effectively operates around the mid point of each element, so the layout and size of the diagram do not change. To automatically change the layout of a diagram, see the Lay Out a Diagram Automatically topic.

To autosize elements, follow the steps below:

  1. Select the elements to resize (press [Ctrl]+[A] to select all).
  2. Either:
  • Right-click on any of the elements and, on the context menu, select the Autosize menu option, or
  • Press [Alt]+[Z].

Notes:

  • Not all elements resize: elements such as Events remain the same; Timing and Sequence diagrams (where position is crucial) are unchanged; and elements added from a profile or Shape Script maintain any size definitions imposed by the profile.
  • With an element image created with a Shape Script that contains a defSize command, Autosize returns the element to the defSize value and not the element default size.