GraphForceAtlas2PhysicsOptions
ChartForgeX.Interactivity
Configures a degree-weighted ForceAtlas2-style gravity and spring model.
Inheritance
- GraphPhysicsSolverOptions
- GraphForceAtlas2PhysicsOptions
Usage
Explore 31 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 15
- Extension method GraphForceAtlas2PhysicsOptions.AvoidOverlap
- Extension method GraphForceAtlas2PhysicsOptions.CentralGravity
- Extension method GraphForceAtlas2PhysicsOptions.Damping
- Extension method GraphForceAtlas2PhysicsOptions.GravitationalConstant
- Extension method GraphForceAtlas2PhysicsOptions.SpringConstant
- Extension method GraphForceAtlas2PhysicsOptions.SpringLength
- Extension method GraphForceAtlas2PhysicsOptions.Theta
- Method GraphForceAtlas2PhysicsOptionsFluent.AvoidOverlap
- Method GraphForceAtlas2PhysicsOptionsFluent.CentralGravity
- Method GraphForceAtlas2PhysicsOptionsFluent.Damping
- Method GraphForceAtlas2PhysicsOptionsFluent.GravitationalConstant
- Method GraphForceAtlas2PhysicsOptionsFluent.SpringConstant
- Method GraphForceAtlas2PhysicsOptionsFluent.SpringLength
- Method GraphForceAtlas2PhysicsOptionsFluent.Theta
- Property GraphPhysicsOptions.ForceAtlas2
Accepted by parameters 16
- Extension method GraphForceAtlas2PhysicsOptions.AvoidOverlap
- Extension method GraphForceAtlas2PhysicsOptions.CentralGravity
- Extension method GraphForceAtlas2PhysicsOptions.Damping
- Extension method GraphForceAtlas2PhysicsOptions.GravitationalConstant
- Extension method GraphForceAtlas2PhysicsOptions.SpringConstant
- Extension method GraphForceAtlas2PhysicsOptions.SpringLength
- Extension method GraphForceAtlas2PhysicsOptions.Theta
- Method GraphForceAtlas2PhysicsOptionsFluent.AvoidOverlap
- Method GraphForceAtlas2PhysicsOptionsFluent.CentralGravity
- Method GraphForceAtlas2PhysicsOptionsFluent.Damping
- Method GraphForceAtlas2PhysicsOptionsFluent.GravitationalConstant
- Method GraphForceAtlas2PhysicsOptionsFluent.SpringConstant
- Method GraphForceAtlas2PhysicsOptionsFluent.SpringLength
- Method GraphForceAtlas2PhysicsOptionsFluent.Theta
- Extension method GraphPhysicsOptions.ForceAtlas2
- Method GraphPhysicsOptionsFluent.ForceAtlas2
Constructors
public GraphForceAtlas2PhysicsOptions() #Creates vis-network-like ForceAtlas2 defaults.
Inherited Methods
Properties
Inherited Properties
public double CentralGravity { get; set; } #public double SpringLength { get; set; } #public double SpringConstant { get; set; } #public double Damping { get; set; } #public double AvoidOverlap { get; set; } #Extension Methods
public static GraphForceAtlas2PhysicsOptions AvoidOverlap(GraphForceAtlas2PhysicsOptions graphForceAtlas2PhysicsOptions, double value) #Sets GraphPhysicsSolverOptions.AvoidOverlap: Gets or sets how strongly node dimensions contribute to collision avoidance, from zero to one.
Parameters
- graphForceAtlas2PhysicsOptions ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions { AvoidOverlap = value }; graphForceAtlas2PhysicsOptions.AvoidOverlap(value);public static GraphForceAtlas2PhysicsOptions CentralGravity(GraphForceAtlas2PhysicsOptions graphForceAtlas2PhysicsOptions, double value) #Sets GraphPhysicsSolverOptions.CentralGravity: Gets or sets the attraction toward the graph center.
Parameters
- graphForceAtlas2PhysicsOptions ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions { CentralGravity = value }; graphForceAtlas2PhysicsOptions.CentralGravity(value);public static GraphForceAtlas2PhysicsOptions Damping(GraphForceAtlas2PhysicsOptions graphForceAtlas2PhysicsOptions, double value) #Sets GraphPhysicsSolverOptions.Damping: Gets or sets how much velocity is discarded per simulation tick.
Parameters
- graphForceAtlas2PhysicsOptions ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions { Damping = value }; graphForceAtlas2PhysicsOptions.Damping(value);public static GraphForceAtlas2PhysicsOptions GravitationalConstant(GraphForceAtlas2PhysicsOptions graphForceAtlas2PhysicsOptions, double value) #Sets GraphForceAtlas2PhysicsOptions.GravitationalConstant: Gets or sets the negative degree-weighted gravitational constant.
Parameters
- graphForceAtlas2PhysicsOptions ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions { GravitationalConstant = value }; graphForceAtlas2PhysicsOptions.GravitationalConstant(value);public static GraphForceAtlas2PhysicsOptions SpringConstant(GraphForceAtlas2PhysicsOptions graphForceAtlas2PhysicsOptions, double value) #Sets GraphPhysicsSolverOptions.SpringConstant: Gets or sets the strength of edge springs.
Parameters
- graphForceAtlas2PhysicsOptions ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions { SpringConstant = value }; graphForceAtlas2PhysicsOptions.SpringConstant(value);public static GraphForceAtlas2PhysicsOptions SpringLength(GraphForceAtlas2PhysicsOptions graphForceAtlas2PhysicsOptions, double value) #Sets GraphPhysicsSolverOptions.SpringLength: Gets or sets the resting length of physics-enabled edges.
Parameters
- graphForceAtlas2PhysicsOptions ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions { SpringLength = value }; graphForceAtlas2PhysicsOptions.SpringLength(value);public static GraphForceAtlas2PhysicsOptions Theta(GraphForceAtlas2PhysicsOptions graphForceAtlas2PhysicsOptions, double value) #Sets GraphForceAtlas2PhysicsOptions.Theta: Gets or sets the quadtree approximation threshold.
Parameters
- graphForceAtlas2PhysicsOptions ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions { Theta = value }; graphForceAtlas2PhysicsOptions.Theta(value);