Show / Hide Table of Contents

Class SugiyamaLayoutParameters

Sugiyama layout algorithm parameters.

Inheritance
System.Object
NotifierObject
LayoutParametersBase
SugiyamaLayoutParameters
Implements
ILayoutParameters
IAlgorithmParameters
System.ICloneable
System.ComponentModel.INotifyPropertyChanged
Inherited Members
LayoutParametersBase.Equals(Object)
LayoutParametersBase.GetHashCode()
LayoutParametersBase.Clone()
NotifierObject.PropertyChanged
NotifierObject.OnPropertyChanged(String)
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 Source

Direction

Layout direction (orientation)

Declaration
public LayoutDirection Direction { get; set; }
Property Value
Type Description
LayoutDirection
| Improve this Doc View Source

EdgeRouting

Edge routing method.

Declaration
public SugiyamaEdgeRouting EdgeRouting { get; set; }
Property Value
Type Description
SugiyamaEdgeRouting
| Improve this Doc View Source

LayerGap

Distance between layers.

Declaration
public double LayerGap { get; set; }
Property Value
Type Description
System.Double
Exceptions
Type Condition
System.ArgumentOutOfRangeException

Value is negative.

| Improve this Doc View Source

MinimizeEdgeLength

Indicates if edge length should be minimized or not.

Declaration
public bool MinimizeEdgeLength { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

OptimizeWidth

Indicates if a width optimization should be performed.

Declaration
public bool OptimizeWidth { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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.

| Improve this Doc View Source

SliceGap

Distance between slices.

Declaration
public double SliceGap { get; set; }
Property Value
Type Description
System.Double
Exceptions
Type Condition
System.ArgumentOutOfRangeException

Value is negative.

| Improve this Doc View Source

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 Source

GetEqualityElements()

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
LayoutParametersBase.GetEqualityElements()

Implements

ILayoutParameters
IAlgorithmParameters
System.ICloneable
System.ComponentModel.INotifyPropertyChanged

Extension Methods

FactoryHelpers.CreateNewParameters<TParam>(IAlgorithmParameters)
GraphHelpers.GetDistances<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph, out Double[,])
  • Improve this Doc
  • View Source
In This Article
Back to top GraphShape