Class ForceDirectedEdge
- Namespace
- Northwoods.Go.Layouts
- Assembly
- Northwoods.GoDiagram.WinForms.ForceDirectedLayout.dll
This holds ForceDirectedLayout-specific information about Links.
public class ForceDirectedEdge : Network<ForceDirectedVertex, ForceDirectedEdge, ForceDirectedLayout>.Edge
- Inheritance
-
ForceDirectedEdge
- Inherited Members
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.
public ForceDirectedEdge(ForceDirectedNetwork network)
Parameters
network
ForceDirectedNetwork
Properties
Length
Gets or sets the length of this edge.
public double Length { get; set; }
Property Value
Remarks
The default value is NaN.
Stiffness
Gets or sets this edge's stiffness or resistance to compression or stretching.
public double Stiffness { get; set; }
Property Value
Remarks
The default value is NaN.