HtmlForgeX

API Reference

Class

VisNetworkMethodTemplates

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers static

Provides predefined method templates for common operations.

Inheritance

  • Object
  • VisNetworkMethodTemplates

Methods

public static String CenterOnNode(Object nodeId) #
Returns: String

JavaScript to center the view on a specific node.

Parameters

nodeId System.Object requiredposition: 0
public static String GetBoundingBox(params Object[] nodeIds) #
Returns: String

JavaScript to get bounding box of nodes.

Parameters

nodeIds System.Object[] requiredposition: 0
public static String SelectNodesAndEdges(Object[] nodeIds, Object[] edgeIds) #
Returns: String

JavaScript to select nodes and edges programmatically.

Parameters

nodeIds System.Object[] requiredposition: 0
edgeIds System.Object[] requiredposition: 1

Properties

public static String FitAllAnimated { get; } #

JavaScript to fit all nodes with animation.

public static String GetViewportInfo { get; } #

JavaScript to get current viewport information.

public static String ExportPositions { get; } #

JavaScript to export network positions.