Coordinates of each node.
Number of nodes.
Constructs a layout.
Layout constructor parameters.
Initializes a random layout for a specified number of nodes.
Number of nodes
Initializes a random layout for a specified number of nodes.
Number of nodes
Random number generator
Initializes a layout using specified coordinates for each node.
Coordinates of each node
Clones the layout.
Cloned layout
Returns the number of nodes.
Number of nodes
Returns the coordinates of each node.
Coordinates of each node
Returns the coordinates of a node.
Node
Coordinates
Returns the minimum of the coordinates of all node.
Minimum coordinates
Returns the maximum of the coordinates of all node.
Maximum coordinates
Returns the average distance between all pairs of nodes.
Average distance
Positions a node at coordinates.
Node
Coordinates
Initializes a random layout.
Each node is positioned at random coordinates.
Random number generator
Standardizes a layout.
Standardization involves translation, rotation, reflection, and
optionally dilation. The layout is translated so that it is centered at
the origin. The layout is rotated so that the variance in the horizontal
dimension is maximized. The layout is reflected so that in both the
horizontal and the vertical dimension the median of the coordinates is
non-positive. If standardizeDistances = true
, the layout is dilated so
that the average distance between nodes equals one.
Standardize distances
Rotates a layout.
Angle
Flips a layout.
Dimension
Generated using TypeDoc
Layout of the nodes in a network.