Repositioning Types

There are two ways to reposition types on a diagram: manually or by auto-layout.

Manual Adjustments

A type or collection of selected types can be moved simply by dragging. Types can be dragged in any direction; there are no bounds to the diagram in any direction, the diagram will expand to accommodate types at the edges.

Note that inner types, and other members for that matter, cannot be dragged; inner types, fields, methods and initializers are selectable only so that their association lines can be highlighted and their Javadoc and source viewed in the standard Eclipse views.

No adjustment can be made to the positions of types if the diagram file is read-only or you don't have a valid editor's license.

Auto-Layout

There are two types of auto-layout. They appear as options under the layout menu.

Improve Layout removes overlapping types and pulls types together to take up any gaps, while trying to preserve the relative placements of the types on the diagram. Selecting Improve Layout more than once may be necessary if there are very large gaps between types.

Layout From Scratch makes no attempt to preserve the relative layout, seeking only to find the optimal layout.