Class FreeFRLayoutParameters
Fruchterman-Reingold layout algorithm parameters (FDP).
Inheritance
System.Object
FreeFRLayoutParameters
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 FreeFRLayoutParameters : FRLayoutParametersBase, ILayoutParameters, IAlgorithmParameters, ICloneable, INotifyPropertyChanged
Constructors
| Improve this Doc View SourceFreeFRLayoutParameters()
Initializes a new instance of the FreeFRLayoutParameters class.
Declaration
public FreeFRLayoutParameters()
Properties
| Improve this Doc View SourceIdealEdgeLength
Represents the ideal length of the edges.
Declaration
public double IdealEdgeLength { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | Value is negative. |
InitialTemperature
Gets the initial temperature of the mass.
Declaration
public override double InitialTemperature { get; }
Property Value
Type | Description |
---|---|
System.Double |
Overrides
| Improve this Doc View SourceK
Gets the computed ideal edge length.
Declaration
public override double K { get; }
Property Value
Type | Description |
---|---|
System.Double |
Overrides
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 override void UpdateParameters()
Overrides
Implements
System.ICloneable
System.ComponentModel.INotifyPropertyChanged