Class ForceDirectedVertex
Extends LayoutVertex. This holds ForceDirectedLayout-specific information about Nodes.
Constructor Summary Details
Returns | Name | Description |
---|---|---|
ForceDirectedVertex()
|
|
Properties Summary Details
Returns | Name | Description |
---|---|---|
{number}
|
charge
|
Gets or sets the electrical charge for this vertex. More...
The default value is NaN.
|
{number}
|
forceX
|
Gets or sets the cumulative force on the vertex in the X direction. More...
The default value is zero.
|
{number}
|
forceY
|
Gets or sets the cumulative force on the vertex in the Y direction. More...
The default value is zero.
|
{boolean}
|
isFixed
|
Gets or sets whether the vertex may be moved by any forces. More...
The default value is false.
|
{number}
|
mass
|
Gets or sets the gravitational mass for this vertex. More...
The default value is NaN.
|
- Properties borrowed from class LayoutVertex:
- bounds, centerX, centerY, destinationEdges, destinationVertexes, edges, edgesCount, focus, focusX, focusY, height, network, node, sourceEdges, sourceVertexes, vertexes, width, x, y
- Methods borrowed from class LayoutVertex:
- addDestinationEdge, addSourceEdge, commit, deleteDestinationEdge, deleteSourceEdge