LayeredLayout

open class LayeredLayout : Layout

Implements a layered graph layout algorithm. This class inherits Layout.

  • Initializes a new instance of the LayeredLayout class.

    Declaration

    Swift

    public override init()

    Return Value

    The newly created instance of the LayeredLayout.

  • A double field that specifies the desired distance between adjacent nodes in a layer.

    Declaration

    Swift

    open var nodeDistance: Double
  • A double field that specifies the desired distance between layer axis lines.

    Declaration

    Swift

    open var layerDistance: Double
  • One of the LayoutDirection values that specify the direction of the arranged diagram.

    Declaration

    Swift

    open var direction: LayoutDirection
  • An integer field that specifies the number of sifts to perform during the layout.

    Declaration

    Swift

    open var siftingRounds: Int