Class
VisNetworkGraph
ChartForgeX.Interactivity
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) #Adds an edge to the compatibility graph.
Parameters
- id string
- from string
- to string
- label string? = null
- configure System.Action<ChartForgeX.Interactivity.VisNetworkEdge>? = null
Returns
VisNetworkGraphpublic VisNetworkGraph AddNode(string id, string label, Action<VisNetworkNode>? configure = null) #Adds a node to the compatibility graph.
Parameters
- id string
- label string
- configure System.Action<ChartForgeX.Interactivity.VisNetworkNode>? = null
Returns
VisNetworkGraphpublic static VisNetworkGraph Create() #Creates a new compatibility graph.
public GraphScene ToGraphScene(string id, string title) #Converts this compatibility graph into the reusable ChartForgeX graph scene model.
Parameters
- id string
- title string
Returns
GraphScene