Show / Hide Table of Contents

Class FRLayoutParametersBase

Base class for Fruchterman-Reingold algorithm parameters (FDP).

Inheritance
System.Object
NotifierObject
LayoutParametersBase
FRLayoutParametersBase
BoundedFRLayoutParameters
FreeFRLayoutParameters
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 abstract class FRLayoutParametersBase : LayoutParametersBase, ILayoutParameters, IAlgorithmParameters, ICloneable, INotifyPropertyChanged

Constructors

| Improve this Doc View Source

FRLayoutParametersBase()

Initializes a new instance of the FRLayoutParametersBase class.

Declaration
protected FRLayoutParametersBase()

Properties

| Improve this Doc View Source

AttractionMultiplier

Multiplier of the attraction.

Declaration
public double AttractionMultiplier { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

ConstantOfAttraction

Constant K * AttractionMultiplier.

Declaration
public double ConstantOfAttraction { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

ConstantOfRepulsion

Constant (K * RepulsiveMultiplier².

Declaration
public double ConstantOfRepulsion { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

CoolingFunction

Cooling function.

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

InitialTemperature

Gets the initial temperature of the mass.

Declaration
public abstract double InitialTemperature { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

K

Gets the computed ideal edge length.

Declaration
public abstract double K { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Lambda

Lambda for the cooling.

Declaration
public double Lambda { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

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.

| Improve this Doc View Source

RepulsiveMultiplier

Multiplier of the repulsion.

Declaration
public double RepulsiveMultiplier { get; set; }
Property Value
Type Description
System.Double

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()
| Improve this Doc View Source

UpdateParameters()

Updates computed parameters based on other parameters.

Declaration
protected virtual void UpdateParameters()

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