Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

GraphSceneExtensions

Namespace ChartForgeX.Interactivity
Assembly ChartForgeX.Interactivity
Modifiers static

Provides fluent helpers for building graph scenes without exposing adapter-specific DTOs.

Inheritance

  • Object
  • GraphSceneExtensions

Methods

public static GraphScene AddCluster(GraphScene scene, String id, String label, String[] nodeIds, Action<GraphSceneCluster>? configure = null) #
Returns: GraphScene

Adds a cluster to the graph scene.

Parameters

scene ChartForgeX.Interactivity.GraphScene requiredposition: 0
The graph scene.
id System.String requiredposition: 1
Stable cluster id.
label System.String requiredposition: 2
Cluster label.
nodeIds System.String[] requiredposition: 3
Node ids contained by the cluster.
configure System.Action<ChartForgeX.Interactivity.GraphSceneCluster>? = null optionalposition: 4
Optional cluster configuration callback.

Returns

The current graph scene.

public static GraphScene AddEdge(GraphScene scene, String id, String sourceNodeId, String targetNodeId, String? label = null, Action<GraphSceneEdge>? configure = null) #
Returns: GraphScene

Adds an edge to the graph scene.

Parameters

scene ChartForgeX.Interactivity.GraphScene requiredposition: 0
The graph scene.
id System.String requiredposition: 1
Stable edge id.
sourceNodeId System.String requiredposition: 2
Source node id.
targetNodeId System.String requiredposition: 3
Target node id.
label System.String? = null optionalposition: 4
Optional edge label.
configure System.Action<ChartForgeX.Interactivity.GraphSceneEdge>? = null optionalposition: 5
Optional edge configuration callback.

Returns

The current graph scene.

public static GraphScene AddNode(GraphScene scene, String id, String label, Action<GraphSceneNode>? configure = null) #
Returns: GraphScene

Adds a node to the graph scene.

Parameters

scene ChartForgeX.Interactivity.GraphScene requiredposition: 0
The graph scene.
id System.String requiredposition: 1
Stable node id.
label System.String requiredposition: 2
Node label.
configure System.Action<ChartForgeX.Interactivity.GraphSceneNode>? = null optionalposition: 3
Optional node configuration callback.

Returns

The current graph scene.