You can rearrange the existing layout of any UML diagram by applying one of several preset styles to the diagram. Each style adheres to a different layout algorithm.
You can use the buttons on the Layout toolbar to change the layout of a diagram. The IDE lets you configure most of the layout styles from the Layout Properties Sheet.
To modify the layout of a diagram: