API Reference
VisNetworkGraph
Provides a typed compatibility envelope for common vis-network data and option concepts. The converter keeps GraphScene as the reusable ChartForgeX graph contract.
Inheritance
- Object
- VisNetworkGraph
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
- Method VisNetworkGraph.AddEdge
- Method VisNetworkGraph.AddNode
- Method VisNetworkGraph.Create
Constructors
public VisNetworkGraph() #Methods
public VisNetworkGraph AddEdge(String id, String from, String to, String? label = null, Action<VisNetworkEdge>? configure = null) #VisNetworkGraphAdds an edge to the compatibility graph.
Parameters
- id System.String
- from System.String
- to System.String
- label System.String? = null
- configure System.Action<ChartForgeX.Interactivity.VisNetworkEdge>? = null
public VisNetworkGraph AddNode(String id, String label, Action<VisNetworkNode>? configure = null) #VisNetworkGraphAdds a node to the compatibility graph.
Parameters
- id System.String
- label System.String
- configure System.Action<ChartForgeX.Interactivity.VisNetworkNode>? = null
public static VisNetworkGraph Create() #VisNetworkGraphCreates a new compatibility graph.
Returns
A graph that can be converted to GraphScene.
public GraphScene ToGraphScene(String id, String title) #GraphSceneConverts this compatibility graph into the reusable ChartForgeX graph scene model.
Parameters
- id System.String
- title System.String
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public List<VisNetworkNode> Nodes { get; } #Gets the vis-style node collection.
public List<VisNetworkEdge> Edges { get; } #Gets the vis-style edge collection.
public Dictionary<String, VisNetworkGroupOptions> Groups { get; } #Gets group defaults keyed by group id.
public VisNetworkOptions Options { get; } #Gets vis-style graph options.