Show / Hide Table of Contents

Class BoundedFRLayoutParameters

Fruchterman-Reingold layout algorithm parameters (FDP), bounded version.

Inheritance
System.Object
NotifierObject
LayoutParametersBase
FRLayoutParametersBase
BoundedFRLayoutParameters
Implements
ILayoutParameters
IAlgorithmParameters
System.ICloneable
System.ComponentModel.INotifyPropertyChanged
Inherited Members
FRLayoutParametersBase.ConstantOfAttraction
FRLayoutParametersBase.AttractionMultiplier
FRLayoutParametersBase.ConstantOfRepulsion
FRLayoutParametersBase.RepulsiveMultiplier
FRLayoutParametersBase.MaxIterations
FRLayoutParametersBase.Lambda
FRLayoutParametersBase.CoolingFunction
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 BoundedFRLayoutParameters : FRLayoutParametersBase, ILayoutParameters, IAlgorithmParameters, ICloneable, INotifyPropertyChanged

Constructors

| Improve this Doc View Source

BoundedFRLayoutParameters()

Initializes a new instance of the BoundedFRLayoutParameters class.

Declaration
public BoundedFRLayoutParameters()

Properties

| Improve this Doc View Source

Height

Height of the bounding box.

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

Value is negative.

| Improve this Doc View Source

InitialTemperature

Gets the initial temperature of the mass.

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

K

IdealEdgeLength = sqrt(height * width / vertexCount).

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

Width

Width of the bounding box.

Declaration
public double Width { 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
FRLayoutParametersBase.GetEqualityElements()
| Improve this Doc View Source

UpdateParameters()

Updates computed parameters based on other parameters.

Declaration
protected override void UpdateParameters()
Overrides
FRLayoutParametersBase.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