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

TopologyChart

Namespace ChartForgeX.Topology

Represents a renderer-independent topology diagram.

Inheritance

  • Object
  • TopologyChart

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

AsDecorative(System.Boolean arg1) #

Marks the topology as decorative for capable renderers.

Parameters

arg1 System.Boolean required
Create() #

Creates a new topology chart.

Returns

A new topology chart.

FromData``2(System.Collections.Generic.IEnumerable{``0} nodes, System.Collections.Generic.IEnumerable{``1} edges, System.Func{``0,System.String} nodeId, System.Func{``0,System.String} nodeLabel, System.Func{``1,System.String} edgeId, System.Func{``1,System.String} sourceNodeId, System.Func{``1,System.String} targetNodeId, System.Action{ChartForgeX.Topology.TopologyNode,``0} configureNode, System.Action{ChartForgeX.Topology.TopologyEdge,``1} configureEdge, ChartForgeX.Topology.TopologyLayoutMode layoutMode) #

Maps product-owned node and edge records into a deterministic, renderer-independent topology chart.

Type Parameters

TNode
The caller's node record type.
TEdge
The caller's edge record type.

Parameters

nodes System.Collections.Generic.IEnumerable{``0} required
The node records in deterministic input order.
edges System.Collections.Generic.IEnumerable{``1} required
The edge records in deterministic input order.
nodeId System.Func{``0,System.String} required
Selects the stable node id.
nodeLabel System.Func{``0,System.String} required
Selects the visible node label.
edgeId System.Func{``1,System.String} required
Selects the stable edge id.
sourceNodeId System.Func{``1,System.String} required
Selects the source node id for an edge.
targetNodeId System.Func{``1,System.String} required
Selects the target node id for an edge.
configureNode System.Action{ChartForgeX.Topology.TopologyNode,``0} required
Optionally maps product-neutral visual properties onto each created node.
configureEdge System.Action{ChartForgeX.Topology.TopologyEdge,``1} required
Optionally maps product-neutral visual properties onto each created edge.
layoutMode ChartForgeX.Topology.TopologyLayoutMode required
The deterministic topology layout applied by renderers.

Returns

A topology chart containing mapped copies of the source records.

WithAccessibility(System.Action{ChartForgeX.Accessibility.VisualAccessibility} arg1) #

Configures the topology text alternative and language metadata.

Parameters

arg1 System.Action{ChartForgeX.Accessibility.VisualAccessibility} required
WithDesignTokens(ChartForgeX.Themes.VisualDesignTokens arg1) #

Applies shared product-neutral design tokens to the topology theme.

Parameters

arg1 ChartForgeX.Themes.VisualDesignTokens required

Properties

Accessibility #

Gets accessibility metadata shared by capable renderers and hosts.

Id #

Gets or sets a stable chart identifier.

Title #

Gets or sets the chart title.

Subtitle #

Gets or sets the chart subtitle.

LayoutMode #

Gets or sets the deterministic layout mode.

LayoutDirection #

Gets or sets the deterministic layout flow direction.

Viewport #

Gets the viewport used by renderers.

MapViewport #

Gets or sets the longitude/latitude window used by geographic topology layouts.

Groups #

Gets the topology groups.

Nodes #

Gets the topology nodes.

Edges #

Gets the topology edges.

Scenarios #

Gets reusable scenario overlays that describe paths through the topology.

Legend #

Gets or sets an optional legend.

Theme #

Gets or sets an optional topology theme.