Class FRLayoutParametersBase
Base class for Fruchterman-Reingold algorithm parameters (FDP).
Inheritance
System.Object
FRLayoutParametersBase
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 abstract class FRLayoutParametersBase : LayoutParametersBase, ILayoutParameters, IAlgorithmParameters, ICloneable, INotifyPropertyChanged
Constructors
| Improve this Doc View SourceFRLayoutParametersBase()
Initializes a new instance of the FRLayoutParametersBase class.
Declaration
protected FRLayoutParametersBase()
Properties
| Improve this Doc View SourceAttractionMultiplier
Multiplier of the attraction.
Declaration
public double AttractionMultiplier { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ConstantOfAttraction
Constant K * AttractionMultiplier.
Declaration
public double ConstantOfAttraction { get; }
Property Value
Type | Description |
---|---|
System.Double |
ConstantOfRepulsion
Constant (K * RepulsiveMultiplier².
Declaration
public double ConstantOfRepulsion { get; }
Property Value
Type | Description |
---|---|
System.Double |
CoolingFunction
Cooling function.
Declaration
public FRCoolingFunction CoolingFunction { get; set; }
Property Value
Type | Description |
---|---|
FRCoolingFunction |
InitialTemperature
Gets the initial temperature of the mass.
Declaration
public abstract double InitialTemperature { get; }
Property Value
Type | Description |
---|---|
System.Double |
K
Gets the computed ideal edge length.
Declaration
public abstract double K { get; }
Property Value
Type | Description |
---|---|
System.Double |
Lambda
Lambda for the cooling.
Declaration
public double Lambda { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
MaxIterations
Maximum number of the iterations.
Declaration
public int MaxIterations { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | Value is negative. |
RepulsiveMultiplier
Multiplier of the repulsion.
Declaration
public double RepulsiveMultiplier { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
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
| Improve this Doc View SourceUpdateParameters()
Updates computed parameters based on other parameters.
Declaration
protected virtual void UpdateParameters()
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanged