Table of Contents

Class AutomaticLayout

Namespace
C4.Net
Assembly
C4.Net.Core.dll

Captures the automatic layout settings applied to a view.

[DataContract]
public class AutomaticLayout
Inheritance
AutomaticLayout
Inherited Members

Fields

RankDirection

Controls the direction in which ranks are arranged.

[DataMember(Name = "rankDirection", EmitDefaultValue = true)]
public RankDirection RankDirection

Field Value

RankDirection

Vertices

Indicates whether the layout engine should persist intermediate connector vertices.

[DataMember(Name = "vertices", EmitDefaultValue = true)]
public bool Vertices

Field Value

bool

Properties

EdgeSeparation

Specifies the distance between parallel edges, in pixels.

[DataMember(Name = "edgeSeparation", EmitDefaultValue = false)]
public int EdgeSeparation { get; set; }

Property Value

int

Exceptions

ArgumentException

Thrown when the value is negative.

NodeSeparation

Specifies the distance between nodes within the same rank, in pixels.

[DataMember(Name = "nodeSeparation", EmitDefaultValue = false)]
public int NodeSeparation { get; set; }

Property Value

int

Exceptions

ArgumentException

Thrown when the value is negative.

RankSeparation

Specifies the vertical or horizontal distance between ranks, in pixels.

[DataMember(Name = "rankSeparation", EmitDefaultValue = false)]
public int RankSeparation { get; set; }

Property Value

int

Exceptions

ArgumentException

Thrown when the value is negative.