API Reference
VisNetworkHierarchicalRepulsionOptions
Hierarchical repulsion physics solver options.
Inheritance
- Object
- VisNetworkHierarchicalRepulsionOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property VisNetworkPhysicsOptions.HierarchicalRepulsion
- Method VisNetworkHierarchicalRepulsionOptions.WithAvoidOverlap
- Method VisNetworkHierarchicalRepulsionOptions.WithCentralGravity
- Method VisNetworkHierarchicalRepulsionOptions.WithDamping
- Method VisNetworkHierarchicalRepulsionOptions.WithNodeDistance
- Method VisNetworkHierarchicalRepulsionOptions.WithSpringConstant
- Method VisNetworkHierarchicalRepulsionOptions.WithSpringLength
Accepted by parameters
Constructors
public VisNetworkHierarchicalRepulsionOptions() #Methods
public VisNetworkHierarchicalRepulsionOptions WithAvoidOverlap(Double overlap) #VisNetworkHierarchicalRepulsionOptionsSets the overlap avoidance value.
Parameters
- overlap System.Double
- The overlap value.
Returns
The current VisNetworkHierarchicalRepulsionOptions instance.
public VisNetworkHierarchicalRepulsionOptions WithCentralGravity(Double gravity) #VisNetworkHierarchicalRepulsionOptionsSets the central gravity value.
Parameters
- gravity System.Double
- The central gravity.
Returns
The current VisNetworkHierarchicalRepulsionOptions instance.
public VisNetworkHierarchicalRepulsionOptions WithDamping(Double damping) #VisNetworkHierarchicalRepulsionOptionsSets the damping factor.
Parameters
- damping System.Double
- The damping value.
Returns
The current VisNetworkHierarchicalRepulsionOptions instance.
public VisNetworkHierarchicalRepulsionOptions WithNodeDistance(Double distance) #VisNetworkHierarchicalRepulsionOptionsSets the distance between nodes.
Parameters
- distance System.Double
- The distance value.
Returns
The current VisNetworkHierarchicalRepulsionOptions instance.
public VisNetworkHierarchicalRepulsionOptions WithSpringConstant(Double constant) #VisNetworkHierarchicalRepulsionOptionsSets the spring constant.
Parameters
- constant System.Double
- The spring constant.
Returns
The current VisNetworkHierarchicalRepulsionOptions instance.
public VisNetworkHierarchicalRepulsionOptions WithSpringLength(Double length) #VisNetworkHierarchicalRepulsionOptionsSets the spring length.
Parameters
- length System.Double
- The spring length.
Returns
The current VisNetworkHierarchicalRepulsionOptions 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.
public Nullable<Double> AvoidOverlap { get; set; } #JsonPropertyName("avoidOverlap") JsonIgnore(Condition = 3)Gets or sets the overlap avoidance.