HtmlForgeX

API Reference

Class

VisNetworkSmoothOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Smooth curve configuration for edges.

Inheritance

  • Object
  • VisNetworkSmoothOptions

Constructors

public VisNetworkSmoothOptions() #

Methods

public VisNetworkSmoothOptions WithEnabled(Boolean enabled = true) #
Returns: VisNetworkSmoothOptions

Configures the enabled.

Parameters

enabled System.Boolean = true optionalposition: 0
WithForceDirection 3 overloads
public VisNetworkSmoothOptions WithForceDirection(VisNetworkForceDirection direction) #
Returns: VisNetworkSmoothOptions

Configures the force direction.

Parameters

direction HtmlForgeX.VisNetworkForceDirection requiredposition: 0
public VisNetworkSmoothOptions WithForceDirection(String direction) #
Returns: VisNetworkSmoothOptions

Configures the force direction.

Parameters

direction System.String requiredposition: 0
public VisNetworkSmoothOptions WithForceDirection(Boolean enabled) #
Returns: VisNetworkSmoothOptions

Configures the force direction.

Parameters

enabled System.Boolean requiredposition: 0
public VisNetworkSmoothOptions WithRoundness(Double roundness) #
Returns: VisNetworkSmoothOptions

Configures the roundness.

Parameters

roundness System.Double requiredposition: 0
public VisNetworkSmoothOptions WithType(VisNetworkSmoothType type) #
Returns: VisNetworkSmoothOptions

Configures the type.

Parameters

type HtmlForgeX.VisNetworkSmoothType requiredposition: 0

Properties

public Nullable<Boolean> Enabled { get; set; } #
JsonPropertyName("enabled") JsonIgnore(Condition = 3)

Gets or sets the enabled.

public Nullable<VisNetworkSmoothType> Type { get; set; } #
JsonPropertyName("type") JsonIgnore(Condition = 3)

Gets or sets the type.

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

Gets or sets the force direction.

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

Gets or sets the roundness.