API Reference
Class
VisNetworkScalingOptions
Scaling options for nodes.
Inheritance
- Object
- VisNetworkScalingOptions
Constructors
public VisNetworkScalingOptions() #Methods
WithLabel 2 overloads
public VisNetworkScalingOptions WithLabel(Boolean enabled = true) #Returns:
VisNetworkScalingOptionsEnables or disables label scaling.
Parameters
- enabled System.Boolean = true
- 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:
VisNetworkScalingOptionsConfigures advanced label scaling options.
Parameters
- min System.Double
- Minimum value.
- max System.Double
- Maximum value.
- maxVisible System.Nullable{System.Double} = null
- Maximum visible value.
- drawThreshold System.Nullable{System.Boolean} = null
- Draw threshold value.
Returns
The scaling options for method chaining.
public VisNetworkScalingOptions WithMax(Double max) #Returns:
VisNetworkScalingOptionsSets the maximum scaling value.
Parameters
- max System.Double
- Maximum value.
Returns
The scaling options for method chaining.
public VisNetworkScalingOptions WithMin(Double min) #Returns:
VisNetworkScalingOptionsSets the minimum scaling value.
Parameters
- min System.Double
- Minimum value.
Returns
The scaling options for method chaining.
Inherited Methods
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.