Skip to content
ChartForgeX
Class

GraphPhysicsSolverOptions

ChartForgeX.Interactivity

Namespace
ChartForgeX.Interactivity
Assembly
ChartForgeX.Interactivity
Modifiers
abstract

Contains the spring, damping, gravity, and overlap settings shared by force solvers.

Inheritance

  • object
  • GraphPhysicsSolverOptions

Derived Types

Properties

public double CentralGravity { get; set; } #

Gets or sets the attraction toward the graph center.

public double SpringLength { get; set; } #

Gets or sets the resting length of physics-enabled edges.

public double SpringConstant { get; set; } #

Gets or sets the strength of edge springs.

public double Damping { get; set; } #

Gets or sets how much velocity is discarded per simulation tick.

public double AvoidOverlap { get; set; } #

Gets or sets how strongly node dimensions contribute to collision avoidance, from zero to one.