Skip to main content

SugiyamaLayoutSettings(Double, Double, LayoutDirection) Constructor

Initializes a new instance of the SugiyamaLayoutSettings class.

Namespace: DevExpress.Diagram.Core.Layout

Assembly: DevExpress.Diagram.v24.1.Core.dll

NuGet Package: DevExpress.Diagram.Core

Declaration

public SugiyamaLayoutSettings(
    double columnSpacing,
    double layerSpacing,
    LayoutDirection layoutDirection = LayoutDirection.TopToBottom
)

Parameters

Name Type Description
columnSpacing Double

A System.Double value that is the distance between shapes on the same level of hierarchy.

layerSpacing Double

A System.Double value that is the distance between layers of hierarchy.

Optional Parameters

Name Type Default Description
layoutDirection LayoutDirection TopToBottom

A LayoutDirection enumeration value that is the flow direction for the automatic layout.

See Also