HtmlForgeX

API Reference

Enum

VisNetworkArrows

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed
Attributes
Flags

Defines arrow positioning on an edge.

Inheritance

  • Enum
  • VisNetworkArrows

Values

public const VisNetworkArrows None #

No arrows are rendered on the edge.

Value: 0
public const VisNetworkArrows To #

Draws an arrow pointing towards the target node.

Value: 1
public const VisNetworkArrows From #

Draws an arrow pointing away from the source node.

Value: 2
public const VisNetworkArrows Middle #

Draws an arrow in the middle of the edge.

Value: 4

Extension Methods

public static String EnumToString(VisNetworkArrows arrows) #
Returns: String

Converts a VisNetworkArrows flag combination to the string format expected by Vis Network.

Parameters

arrows HtmlForgeX.VisNetworkArrows requiredposition: 0
Flags describing which arrows are enabled.

Returns

Comma separated string used in JavaScript configuration.