Back to Devexpress

Automatic Layout Settings

wpf-120475-controls-and-libraries-diagram-control-automatic-layout-automatic-layout-settings.md

latest9.3 KB
Original Source

Automatic Layout Settings

  • Aug 19, 2020
  • 3 minutes to read

This document lists the settings used by automatic layout algorithms.

Tree graph

PropertyDescription
DiagramControl.TreeLayoutAlignmentSpecifies the tree layout alignment.
DiagramControl.TreeLayoutBreadthAlignmentSpecifies the tree diagram horizontal alignment relative to the layout direction axis.
DiagramControl.TreeLayoutConnectorsRoutingSpecifies whether applying the layout affects connector routing.
DiagramControl.TreeLayoutDepthAlignmentSpecifies the tree diagram vertical alignment relative to the layout direction axis.
DiagramControl.TreeLayoutDirectionSpecifies the tree layout direction.
DiagramControl.TreeLayoutHorizontalSpacingSpecifies the distance between shapes on the same level of hierarchy.
DiagramControl.TreeLayoutIsCompactSpecifies whether the automatic tree layout arranges shapes minimizing the space between them.
DiagramControl.TreeLayoutSplitModeSpecifies which diagram items are realigned when performing automatic relayout.
DiagramControl.TreeLayoutVerticalSpacingSpecifies the distance between layers of hierarchy.

Layered (Sugiyama) graph

PropertyDescription
DiagramControl.SugiyamaLayoutColumnsAlignmentSpecifies the alignment of the diagram depending on its direction.
DiagramControl.SugiyamaLayoutColumnSpacingSpecifies the distance between shapes on the same level of hierarchy.
DiagramControl.SugiyamaLayoutConnectorsRoutingSpecifies whether applying the layout affects connector routing.
DiagramControl.SugiyamaLayoutDirectionSpecifies the flow direction for the automatic layout.
DiagramControl.SugiyamaLayoutLayersAlignmentSpecifies the alignment of the diagram depending on its direction.
DiagramControl.SugiyamaLayoutLayerSpacingSpecifies the distance between layers of hierarchy.

Circular Layout

PropertyDescription
DiagramControl.CircularLayoutNodesSpacingSpecifies the spacing between the diagram items.
DiagramControl.CircularLayoutOrderSpecifies how the circular layout algorithm arranges shapes.
DiagramControl.CircularLayoutStartAngleSpecifies the start angle in degrees in the counterclockwise direction.

Tip-Over Tree Layout

PropertyDescription
DiagramControl.TipOverTreeLayoutConnectorsRoutingSpecifies whether applying the layout affects connector routing.
DiagramControl.TipOverTreeLayoutDirectionSpecifies the layout direction.
DiagramControl.TipOverTreeLayoutHorizontalAlignmentSpecifies the horizontal alignment of the diagram.
DiagramControl.TipOverTreeLayoutOffsetSpecifies the offset used by the layout algorithm.
DiagramControl.TipOverTreeLayoutOffsetModeSpecifies whether to offset child shapes from the center or the edge of the parent shape.
DiagramControl.TipOverTreeLayoutSplitModeSpecifies whether to apply the layout algorithm only to items that are connected to at least one other item.
DiagramControl.TipOverTreeLayoutVerticalAlignmentSpecifies the vertical alignment of the diagram.
DiagramControl.TipOverTreeLayoutVerticalSpacingSpecifies the distance between layers of hierarchy.

Mind-Map Tree Layout

PropertyDescription
DiagramControl.MindMapTreeLayoutConnectorsRoutingSpecifies whether applying the layout affects connector routing.
DiagramControl.MindMapTreeLayoutHierarchyAlignmentSpecifies the layout vertical alignment relative to the layout direction axis.
DiagramControl.MindMapTreeLayoutHierarchySpacingSpecifies the distance between layers of hierarchy.
DiagramControl.MindMapTreeLayoutNodeAlignmentSpecifies the layout horizontal alignment relative to the layout direction axis.
DiagramControl.MindMapTreeLayoutNodeSpacingSpecifies the distance between shapes on the same level of hierarchy.
DiagramControl.MindMapTreeLayoutOrientationSpecifies the mind-map tree orientation.
DiagramControl.MindMapTreeLayoutRootSpacingSpecifies the distance between the root shape and its immediate children.
DiagramControl.MindMapTreeLayoutSplitModeSpecifies which diagram items are realigned when performing automatic relayout.
DiagramControl.MindMapTreeLayoutSubTreeAlignmentGets or sets the alignment of the mind-map’s subtrees.
DiagramControl.MindMapTreeLayoutSubTreeDefaultSplitModeSpecifies the criteria for arranging the mind map branches.
DiagramControl.MindMapTreeLayoutSubTreeSelectorSpecifies the IMindMapSubTreeSelector object that regulates the positioning of subtrees.

Org Chart Layout

PropertyDescription
DiagramControl.OrgChartLayoutConnectorsRoutingSpecifies whether applying the org chart layout affects connector routing.
DiagramControl.OrgChartLayoutDirectionSpecifies the direction of the org chart layout’s tree section.
DiagramControl.OrgChartLayoutHierarchySpacingSpecifies the distance between layers of hierarchy.
DiagramControl.OrgChartLayoutNodeSpacingSpecifies the distance between shapes on the same level of hierarchy.
DiagramControl.OrgChartLayoutSplitModeSpecifies which diagram items are rearranged by the layout algorithm.
DiagramControl.OrgChartLayoutTipOverDirectionSpecifies the direction of the org chart layout’s tip-over section.
DiagramControl.OrgChartLayoutTipOverOffsetModeSpecifies 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.OrgChartLayoutTreeAlignmentSpecifies the alignment of the org chart layout’s tree section.
DiagramControl.OrgChartLayoutTreeLevelCountSpecifies the number of levels of hierarchy in the org chart layout’s tree section.
DiagramControl.OrgChartLayoutIsCompactSpecifies whether the automatic org chart layout arranges shapes minimizing the space between them.