Project

ChartForgeX

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

Stars 45
Forks 2
NuGet downloads 48,107
Release ChartForgeX-v1.7.0
Language: HTML Updated: 2026-09-02

API Reference

Class

GraphSceneExtensions

Namespace ChartForgeX.Interactivity

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 required
The graph scene.
id System.String required
Stable cluster id.
label System.String required
Cluster label.
nodeIds System.String[] required
Node ids contained by the cluster.
configure System.Action{ChartForgeX.Interactivity.GraphSceneCluster} required
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 required
The graph scene.
id System.String required
Stable edge id.
sourceNodeId System.String required
Source node id.
targetNodeId System.String required
Target node id.
label System.String required
Optional edge label.
configure System.Action{ChartForgeX.Interactivity.GraphSceneEdge} required
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 required
The graph scene.
id System.String required
Stable node id.
label System.String required
Node label.
configure System.Action{ChartForgeX.Interactivity.GraphSceneNode} required
Optional node configuration callback.

Returns

The current graph scene.