HtmlForgeX

API Reference

Class

VisNetworkManipulationOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Manipulation configuration options.

Inheritance

  • Object
  • VisNetworkManipulationOptions

Constructors

public VisNetworkManipulationOptions() #

Methods

public VisNetworkManipulationOptions WithAddEdge(Boolean enabled = true) #
Returns: VisNetworkManipulationOptions

Enables or disables the ability to add edges.

Parameters

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

Returns

The current VisNetworkManipulationOptions instance.

public VisNetworkManipulationOptions WithAddNode(Boolean enabled = true) #
Returns: VisNetworkManipulationOptions

Enables or disables the ability to add nodes.

Parameters

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

Returns

The current VisNetworkManipulationOptions instance.

public VisNetworkManipulationOptions WithDeleteEdge(Boolean enabled = true) #
Returns: VisNetworkManipulationOptions

Enables or disables edge deletion.

Parameters

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

Returns

The current VisNetworkManipulationOptions instance.

public VisNetworkManipulationOptions WithDeleteNode(Boolean enabled = true) #
Returns: VisNetworkManipulationOptions

Enables or disables node deletion.

Parameters

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

Returns

The current VisNetworkManipulationOptions instance.

public VisNetworkManipulationOptions WithEditEdge(Boolean enabled = true) #
Returns: VisNetworkManipulationOptions

Enables or disables edge editing.

Parameters

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

Returns

The current VisNetworkManipulationOptions instance.

public VisNetworkManipulationOptions WithEditNode(Boolean enabled = true) #
Returns: VisNetworkManipulationOptions

Enables or disables node editing.

Parameters

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

Returns

The current VisNetworkManipulationOptions instance.

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

Sets Enabled.

Parameters

enabled System.Boolean = true optionalposition: 0
Whether manipulation is enabled.

Returns

The current VisNetworkManipulationOptions instance.

public VisNetworkManipulationOptions WithInitiallyActive(Boolean active = true) #
Returns: VisNetworkManipulationOptions

Sets InitiallyActive.

Parameters

active System.Boolean = true optionalposition: 0
True to start with the toolbar active.

Returns

The current VisNetworkManipulationOptions instance.

Properties

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

Gets or sets a value indicating whether manipulation is enabled.

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

Gets or sets a value indicating whether the manipulation toolbar is active initially.

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

Gets or sets options or a boolean value controlling adding nodes.

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

Gets or sets options or a boolean value controlling adding edges.

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

Gets or sets options or a boolean value controlling node editing.

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

Gets or sets options or a boolean value controlling edge editing.

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

Gets or sets options or a boolean value controlling node deletion.

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

Gets or sets options or a boolean value controlling edge deletion.

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

Gets or sets the style used for control nodes during manipulation.