Show / Hide Table of Contents

Class RandomLayoutParameters

Random layout algorithm parameters.

Inheritance
System.Object
NotifierObject
LayoutParametersBase
RandomLayoutParameters
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 RandomLayoutParameters : LayoutParametersBase, ILayoutParameters, IAlgorithmParameters, ICloneable, INotifyPropertyChanged

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

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.

| Improve this Doc View Source

XOffset

X offset for the bounding box.

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

YOffset

Y offset for the bounding box.

Declaration
public double YOffset { 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()

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