API Reference
Class
VisNetworkRepulsionOptions
Repulsion physics solver options.
Inheritance
- Object
- VisNetworkRepulsionOptions
Constructors
public VisNetworkRepulsionOptions() #Methods
public VisNetworkRepulsionOptions WithCentralGravity(Double gravity) #Returns:
VisNetworkRepulsionOptionsSets the central gravity value.
Parameters
- gravity System.Double
- The central gravity.
Returns
The current VisNetworkRepulsionOptions instance.
public VisNetworkRepulsionOptions WithDamping(Double damping) #Returns:
VisNetworkRepulsionOptionsSets the damping factor.
Parameters
- damping System.Double
- The damping value.
Returns
The current VisNetworkRepulsionOptions instance.
public VisNetworkRepulsionOptions WithNodeDistance(Double distance) #Returns:
VisNetworkRepulsionOptionsSets the distance between nodes.
Parameters
- distance System.Double
- The distance value.
Returns
The current VisNetworkRepulsionOptions instance.
public VisNetworkRepulsionOptions WithSpringConstant(Double constant) #Returns:
VisNetworkRepulsionOptionsSets the spring constant.
Parameters
- constant System.Double
- The spring constant.
Returns
The current VisNetworkRepulsionOptions instance.
public VisNetworkRepulsionOptions WithSpringLength(Double length) #Returns:
VisNetworkRepulsionOptionsSets the spring length.
Parameters
- length System.Double
- The spring length.
Returns
The current VisNetworkRepulsionOptions instance.
Inherited Methods
Properties
public Nullable<Double> NodeDistance { get; set; } #JsonPropertyName("nodeDistance") JsonIgnore(Condition = 3)Gets or sets the distance between nodes.
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.