You can automatically rearrange all or selected model elements on a diagram.
Laying out a diagram automatically