<< Click to Display Table of Contents >> NShape Reference
|
Distributes shapes such that connected shapes are nearer together and unconnected shapes further apart.
public class RepulsionLayouter : LayouterBase, ILayouter |
Distributes shapes such that connected shapes are nearer together and unconnected shapes further apart.
Uses a physical model with repulsive forces and springs between connected shapes.
Name |
Description |
---|---|
Friction |
Gets or sets the friction that slows down the movement of the shapes as constant force. |
Mass |
Gets or sets the mass of the shapes in kg. Higher mass means that the shapes move shorter distances per time step. |
Repulsion |
Gets or sets the repulsion between shapes as constant force. |
RepulsionRange |
Gets or sets the range of the repulsion force in diagram coordinates. |
SpringRate |
Gets or sets the spring rate of the spring that keeps connected shapes together as constant force. |
TimeInterval |
Gets or sets the time interval for the layout process in seconds. |
Name |
Description |
---|---|
RepulsionLayouter |
Constructs a new RepulsionLayouter instance. |
Namespace: Dataweb.NShape.Layouters
Assembly: Dataweb.NShape