Skip to main content
A newer version of this page is available. .

Re-Layout Subordinates

Starting with 17.1, the DiagramControl allows applying an automatic layout to the subordinates of the selected shapes.

When the layout is applied to subordinates, their parent shapes maintain their position.

ReLayout Subordinates Illustration

The Ribbon‘s Re-Layout Subordinates menu item allows end-users to apply the Tree or Tip-Over Tree layout to the subordinates of the selected diagram items.

ReLayoutSubordinatesMenuItem

Tip

The layout is applied to all shapes on the canvas except the root shape if no shape is selected.

You can re-layout the subordinates of the specified diagram shapes in code using the following methods.

Layout type Method
Tree DiagramControl.ApplyTreeLayoutForSubordinates
Tip-Over Tree DiagramControl.ApplyTipOverTreeLayoutForSubordinates
See Also