API Reference
Class
VisNetworkMethodTemplates
Provides predefined method templates for common operations.
Inheritance
- Object
- VisNetworkMethodTemplates
Methods
public static String CenterOnNode(Object nodeId) #Returns:
StringJavaScript to center the view on a specific node.
Parameters
- nodeId System.Object
public static String GetBoundingBox(params Object[] nodeIds) #Returns:
StringJavaScript to get bounding box of nodes.
Parameters
- nodeIds System.Object[]
public static String SelectNodesAndEdges(Object[] nodeIds, Object[] edgeIds) #Returns:
StringJavaScript to select nodes and edges programmatically.
Parameters
- nodeIds System.Object[]
- edgeIds System.Object[]