Class SugiyamaLayoutParameters
Sugiyama layout algorithm parameters.
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GraphShape.Algorithms.Layout
Assembly: GraphShape.dll
Syntax
public class SugiyamaLayoutParameters : LayoutParametersBase, ILayoutParameters, IAlgorithmParameters, ICloneable, INotifyPropertyChanged
Properties
| Improve this Doc View SourceDirection
Layout direction (orientation)
Declaration
public LayoutDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
LayoutDirection |
EdgeRouting
Edge routing method.
Declaration
public SugiyamaEdgeRouting EdgeRouting { get; set; }
Property Value
Type | Description |
---|---|
SugiyamaEdgeRouting |
LayerGap
Distance between layers.
Declaration
public double LayerGap { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | Value is negative. |
MinimizeEdgeLength
Indicates if edge length should be minimized or not.
Declaration
public bool MinimizeEdgeLength { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
OptimizeWidth
Indicates if a width optimization should be performed.
Declaration
public bool OptimizeWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PositionMode
Position mode (can be negative or in [0, 3]).
Declaration
public int PositionMode { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | Value is higher or equal to 3. |
SliceGap
Distance between slices.
Declaration
public double SliceGap { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | Value is negative. |
WidthPerHeight
Width per height ratio.
Declaration
public double WidthPerHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | Value is negative. |
Methods
| Improve this Doc View SourceGetEqualityElements()
Gets elements to take into account when comparing this LayoutParametersBase.
Declaration
protected override IEnumerable<object> GetEqualityElements()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Object> | Elements to compare. |
Overrides
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanged