HtmlForgeX

API Reference

Class

VisNetworkScalingOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Scaling options for nodes.

Inheritance

  • Object
  • VisNetworkScalingOptions

Constructors

public VisNetworkScalingOptions() #

Methods

WithLabel 2 overloads
public VisNetworkScalingOptions WithLabel(Boolean enabled = true) #
Returns: VisNetworkScalingOptions

Enables or disables label scaling.

Parameters

enabled System.Boolean = true optionalposition: 0
True to enable scaling.

Returns

The scaling options for method chaining.

public VisNetworkScalingOptions WithLabel(Double min, Double max, Nullable<Double> maxVisible = null, Nullable<Boolean> drawThreshold = null) #
Returns: VisNetworkScalingOptions

Configures advanced label scaling options.

Parameters

min System.Double requiredposition: 0
Minimum value.
max System.Double requiredposition: 1
Maximum value.
maxVisible System.Nullable{System.Double} = null optionalposition: 2
Maximum visible value.
drawThreshold System.Nullable{System.Boolean} = null optionalposition: 3
Draw threshold value.

Returns

The scaling options for method chaining.

public VisNetworkScalingOptions WithMax(Double max) #
Returns: VisNetworkScalingOptions

Sets the maximum scaling value.

Parameters

max System.Double requiredposition: 0
Maximum value.

Returns

The scaling options for method chaining.

public VisNetworkScalingOptions WithMin(Double min) #
Returns: VisNetworkScalingOptions

Sets the minimum scaling value.

Parameters

min System.Double requiredposition: 0
Minimum value.

Returns

The scaling options for method chaining.

Properties

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

Minimum value for scaling.

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

Maximum value for scaling.

public Object Label { get; set; } #
JsonPropertyName("label") JsonIgnore(Condition = 3)

Label scaling options.