Skip to main content

Automatic Layout Settings

  • 3 minutes to read

This document lists the settings used by automatic layout algorithms.

Tree graph

Property Description
DiagramControl.TreeLayoutAlignment Specifies the tree layout alignment.
DiagramControl.TreeLayoutBreadthAlignment Specifies the tree diagram horizontal alignment relative to the layout direction axis.
DiagramControl.TreeLayoutConnectorsRouting Specifies whether applying the layout affects connector routing.
DiagramControl.TreeLayoutDepthAlignment Specifies the tree diagram vertical alignment relative to the layout direction axis.
DiagramControl.TreeLayoutDirection Specifies the tree layout direction.
DiagramControl.TreeLayoutHorizontalSpacing Specifies the distance between shapes on the same level of hierarchy.
DiagramControl.TreeLayoutIsCompact Specifies whether the automatic tree layout arranges shapes minimizing the space between them.
DiagramControl.TreeLayoutSplitMode Specifies which diagram items are realigned when performing automatic relayout.
DiagramControl.TreeLayoutVerticalSpacing Specifies the distance between layers of hierarchy.

Layered (Sugiyama) graph

Property Description
DiagramControl.SugiyamaLayoutColumnsAlignment Specifies the alignment of the diagram depending on its direction.
DiagramControl.SugiyamaLayoutColumnSpacing Specifies the distance between shapes on the same level of hierarchy.
DiagramControl.SugiyamaLayoutConnectorsRouting Specifies whether applying the layout affects connector routing.
DiagramControl.SugiyamaLayoutDirection Specifies the flow direction for the automatic layout.
DiagramControl.SugiyamaLayoutLayersAlignment Specifies the alignment of the diagram depending on its direction.
DiagramControl.SugiyamaLayoutLayerSpacing Specifies the distance between layers of hierarchy.

Circular Layout

Property Description
DiagramControl.CircularLayoutNodesSpacing Specifies the spacing between the diagram items.
DiagramControl.CircularLayoutOrder Specifies how the circular layout algorithm arranges shapes.
DiagramControl.CircularLayoutStartAngle Specifies the start angle in degrees in the counterclockwise direction.

Tip-Over Tree Layout

Property Description
DiagramControl.TipOverTreeLayoutConnectorsRouting Specifies whether applying the layout affects connector routing.
DiagramControl.TipOverTreeLayoutDirection Specifies the layout direction.
DiagramControl.TipOverTreeLayoutHorizontalAlignment Specifies the horizontal alignment of the diagram.
DiagramControl.TipOverTreeLayoutOffset Specifies the offset used by the layout algorithm.
DiagramControl.TipOverTreeLayoutOffsetMode Specifies whether to offset child shapes from the center or the edge of the parent shape.
DiagramControl.TipOverTreeLayoutSplitMode Specifies whether to apply the layout algorithm only to items that are connected to at least one other item.
DiagramControl.TipOverTreeLayoutVerticalAlignment Specifies the vertical alignment of the diagram.
DiagramControl.TipOverTreeLayoutVerticalSpacing Specifies the distance between layers of hierarchy.

Mind-Map Tree Layout

Property Description
DiagramControl.MindMapTreeLayoutConnectorsRouting Specifies whether applying the layout affects connector routing.
DiagramControl.MindMapTreeLayoutHierarchyAlignment Specifies the layout vertical alignment relative to the layout direction axis.
DiagramControl.MindMapTreeLayoutHierarchySpacing Specifies the distance between layers of hierarchy.
DiagramControl.MindMapTreeLayoutNodeAlignment Specifies the layout horizontal alignment relative to the layout direction axis.
DiagramControl.MindMapTreeLayoutNodeSpacing Specifies the distance between shapes on the same level of hierarchy.
DiagramControl.MindMapTreeLayoutOrientation Specifies the mind-map tree orientation.
DiagramControl.MindMapTreeLayoutRootSpacing Specifies the distance between the root shape and its immediate children.
DiagramControl.MindMapTreeLayoutSplitMode Specifies which diagram items are realigned when performing automatic relayout.
DiagramControl.MindMapTreeLayoutSubTreeAlignment Gets or sets the alignment of the mind-map’s subtrees.
DiagramControl.MindMapTreeLayoutSubTreeDefaultSplitMode Specifies the criteria for arranging the mind map branches.
DiagramControl.MindMapTreeLayoutSubTreeSelector Specifies the IMindMapSubTreeSelector object that regulates the positioning of subtrees.

Org Chart Layout

Property Description
DiagramControl.OrgChartLayoutConnectorsRouting Specifies whether applying the org chart layout affects connector routing.
DiagramControl.OrgChartLayoutDirection Specifies the direction of the org chart layout’s tree section.
DiagramControl.OrgChartLayoutHierarchySpacing Specifies the distance between layers of hierarchy.
DiagramControl.OrgChartLayoutNodeSpacing Specifies the distance between shapes on the same level of hierarchy.
DiagramControl.OrgChartLayoutSplitMode Specifies which diagram items are rearranged by the layout algorithm.
DiagramControl.OrgChartLayoutTipOverDirection Specifies the direction of the org chart layout’s tip-over section.
DiagramControl.OrgChartLayoutTipOverOffsetMode Specifies whether to offset child shapes from the center or the edge of the parent shape in the org chart layout’s tip-over section.
DiagramControl.OrgChartLayoutTreeAlignment Specifies the alignment of the org chart layout’s tree section.
DiagramControl.OrgChartLayoutTreeLevelCount Specifies the number of levels of hierarchy in the org chart layout’s tree section.
DiagramControl.OrgChartLayoutIsCompact Specifies whether the automatic org chart layout arranges shapes minimizing the space between them.