Skip to content
ChartForgeX
Class

GraphForceAtlas2PhysicsOptionsFluent

ChartForgeX.Interactivity

Namespace
ChartForgeX.Interactivity
Assembly
ChartForgeX.Interactivity
Modifiers
static

The fluent methods of GraphForceAtlas2PhysicsOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • GraphForceAtlas2PhysicsOptionsFluent

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 required
The instance.
value double required
The value.

Returns

GraphForceAtlas2PhysicsOptions The same instance.

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 required
The instance.
value double required
The value.

Returns

GraphForceAtlas2PhysicsOptions The same instance.

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 required
The instance.
value double required
The value.

Returns

GraphForceAtlas2PhysicsOptions The same instance.

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 required
The instance.
value double required
The value.

Returns

GraphForceAtlas2PhysicsOptions The same instance.

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 required
The instance.
value double required
The value.

Returns

GraphForceAtlas2PhysicsOptions The same instance.

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 required
The instance.
value double required
The value.

Returns

GraphForceAtlas2PhysicsOptions The same instance.

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 required
The instance.
value double required
The value.

Returns

GraphForceAtlas2PhysicsOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ChartForgeX.Interactivity.GraphForceAtlas2PhysicsOptions { Theta = value };    graphForceAtlas2PhysicsOptions.Theta(value);