HtmlForgeX

API Reference

Class

VisNetworkAnimationOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Animation options for network methods.

Inheritance

  • Object
  • VisNetworkAnimationOptions

Constructors

public VisNetworkAnimationOptions() #

Methods

public VisNetworkAnimationOptions WithDuration(Int32 milliseconds) #
Returns: VisNetworkAnimationOptions

Sets the animation duration in milliseconds.

Parameters

milliseconds System.Int32 requiredposition: 0
public VisNetworkAnimationOptions WithEasingFunction(VisNetworkEasingFunction easing) #
Returns: VisNetworkAnimationOptions

Sets the easing function.

Parameters

easing HtmlForgeX.VisNetworkEasingFunction requiredposition: 0

Properties

public Nullable<Int32> Duration { get; set; } #
JsonPropertyName("duration") JsonIgnore(Condition = 3)

Gets or sets the animation duration in milliseconds.

public String EasingFunction { get; set; } #
JsonPropertyName("easingFunction") JsonIgnore(Condition = 3)

Gets or sets the name of the easing function to apply.