Class ForceDirectedEdge
This holds ForceDirectedLayout-specific information about Links.
Inheritance
ForceDirectedEdge
Namespace: Northwoods.Go.Layouts
Assembly: Northwoods.GoDiagram.WinForms.ForceDirectedLayout.dll
Syntax
public class ForceDirectedEdge : Network<ForceDirectedVertex, ForceDirectedEdge, ForceDirectedLayout>.Edge
Remarks
This class inherits from Network<V, E, Y>.Edge.
Constructors
ForceDirectedEdge(ForceDirectedNetwork)
This constructs an edge that does not know about any Link and sets its network.
Declaration
public ForceDirectedEdge(ForceDirectedNetwork network)
Parameters
Type | Name | Description |
---|---|---|
ForceDirectedNetwork | network |
Properties
Length
Gets or sets the length of this edge.
Declaration
public double Length { get; set; }
Property Value
Type | Description |
---|---|
double |
Remarks
The default value is NaN.
Stiffness
Gets or sets this edge's stiffness or resistance to compression or stretching.
Declaration
public double Stiffness { get; set; }
Property Value
Type | Description |
---|---|
double |
Remarks
The default value is NaN.