API Reference
Class
GraphSceneExtensions
Provides fluent helpers for building graph scenes without exposing adapter-specific DTOs.
Inheritance
- Object
- GraphSceneExtensions
Methods
AddCluster(ChartForgeX.Interactivity.GraphScene scene, System.String id, System.String label, System.String[] nodeIds, System.Action{ChartForgeX.Interactivity.GraphSceneCluster} configure) #Adds a cluster to the graph scene.
Parameters
- scene ChartForgeX.Interactivity.GraphScene
- The graph scene.
- id System.String
- Stable cluster id.
- label System.String
- Cluster label.
- nodeIds System.String[]
- Node ids contained by the cluster.
- configure System.Action{ChartForgeX.Interactivity.GraphSceneCluster}
- Optional cluster configuration callback.
Returns
The current graph scene.
AddEdge(ChartForgeX.Interactivity.GraphScene scene, System.String id, System.String sourceNodeId, System.String targetNodeId, System.String label, System.Action{ChartForgeX.Interactivity.GraphSceneEdge} configure) #Adds an edge to the graph scene.
Parameters
- scene ChartForgeX.Interactivity.GraphScene
- The graph scene.
- id System.String
- Stable edge id.
- sourceNodeId System.String
- Source node id.
- targetNodeId System.String
- Target node id.
- label System.String
- Optional edge label.
- configure System.Action{ChartForgeX.Interactivity.GraphSceneEdge}
- Optional edge configuration callback.
Returns
The current graph scene.
AddNode(ChartForgeX.Interactivity.GraphScene scene, System.String id, System.String label, System.Action{ChartForgeX.Interactivity.GraphSceneNode} configure) #Adds a node to the graph scene.
Parameters
- scene ChartForgeX.Interactivity.GraphScene
- The graph scene.
- id System.String
- Stable node id.
- label System.String
- Node label.
- configure System.Action{ChartForgeX.Interactivity.GraphSceneNode}
- Optional node configuration callback.
Returns
The current graph scene.