HtmlForgeX

API Reference

Class

VisNetworkBarnesHutOptions

Namespace HtmlForgeX.VisNetworkPhysicsOptions
Assembly HtmlForgeX

Barnes Hut physics solver options.

Inheritance

  • Object
  • VisNetworkBarnesHutOptions

Constructors

public VisNetworkBarnesHutOptions() #

Methods

public VisNetworkBarnesHutOptions WithAvoidOverlap(Double overlap) #
Returns: VisNetworkBarnesHutOptions

Sets the overlap avoidance value.

Parameters

overlap System.Double requiredposition: 0
The overlap value.

Returns

The current VisNetworkBarnesHutOptions instance.

public VisNetworkBarnesHutOptions WithCentralGravity(Double gravity) #
Returns: VisNetworkBarnesHutOptions

Sets the central gravity value.

Parameters

gravity System.Double requiredposition: 0
The central gravity.

Returns

The current VisNetworkBarnesHutOptions instance.

public VisNetworkBarnesHutOptions WithDamping(Double damping) #
Returns: VisNetworkBarnesHutOptions

Sets the damping factor.

Parameters

damping System.Double requiredposition: 0
The damping value.

Returns

The current VisNetworkBarnesHutOptions instance.

public VisNetworkBarnesHutOptions WithGravitationalConstant(Double constant) #
Returns: VisNetworkBarnesHutOptions

Sets the gravitational constant.

Parameters

constant System.Double requiredposition: 0
The constant value.

Returns

The current VisNetworkBarnesHutOptions instance.

public VisNetworkBarnesHutOptions WithSpringConstant(Double constant) #
Returns: VisNetworkBarnesHutOptions

Sets the spring constant.

Parameters

constant System.Double requiredposition: 0
The spring constant.

Returns

The current VisNetworkBarnesHutOptions instance.

public VisNetworkBarnesHutOptions WithSpringLength(Double length) #
Returns: VisNetworkBarnesHutOptions

Sets the spring length.

Parameters

length System.Double requiredposition: 0
The spring length.

Returns

The current VisNetworkBarnesHutOptions instance.

public VisNetworkBarnesHutOptions WithTheta(Double theta) #
Returns: VisNetworkBarnesHutOptions

Sets the theta parameter.

Parameters

theta System.Double requiredposition: 0
The theta value.

Returns

The current VisNetworkBarnesHutOptions instance.

Properties

public Nullable<Double> Theta { get; set; } #
JsonPropertyName("theta") JsonIgnore(Condition = 3)

Gets or sets the theta parameter.

public Nullable<Double> GravitationalConstant { get; set; } #
JsonPropertyName("gravitationalConstant") JsonIgnore(Condition = 3)

Gets or sets the gravitational constant.

public Nullable<Double> CentralGravity { get; set; } #
JsonPropertyName("centralGravity") JsonIgnore(Condition = 3)

Gets or sets the central gravity.

public Nullable<Double> SpringLength { get; set; } #
JsonPropertyName("springLength") JsonIgnore(Condition = 3)

Gets or sets the spring length.

public Nullable<Double> SpringConstant { get; set; } #
JsonPropertyName("springConstant") JsonIgnore(Condition = 3)

Gets or sets the spring constant.

public Nullable<Double> Damping { get; set; } #
JsonPropertyName("damping") JsonIgnore(Condition = 3)

Gets or sets the damping factor.

public Nullable<Double> AvoidOverlap { get; set; } #
JsonPropertyName("avoidOverlap") JsonIgnore(Condition = 3)

Gets or sets the overlap avoidance.