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

TopologyScenario

Namespace ChartForgeX.Topology
Assembly ChartForgeX
Modifiers sealed

Describes an interactive path or story through a topology chart.

Inheritance

  • Object
  • TopologyScenario

Usage

Explore 31 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.

Accepted by parameters 16

Constructors

public TopologyScenario() #

Properties

public String Id { get; set; } #

Gets or sets the stable scenario identifier.

public String Label { get; set; } #

Gets or sets the scenario label used by host controls.

public String? Description { get; set; } #

Gets or sets an optional scenario description.

public String? Color { get; set; } #

Gets or sets an optional scenario accent color.

public Int32 PlaybackDelayMilliseconds { get; set; } #

Gets or sets the default time each route step remains visible during playback.

public Boolean LoopPlayback { get; set; } #

Gets or sets whether playback returns to the first route step after the last.

public Boolean AutoPlay { get; set; } #

Gets or sets whether an HTML adapter may start playback automatically when motion is allowed.

public Boolean Spotlight { get; set; } #

Gets or sets whether non-route members are dimmed for a focused review.

public List<TopologyScenarioStep> Steps { get; } #

Gets ordered node and edge references that participate in the scenario.

public Dictionary<String, String> Metadata { get; } #

Gets arbitrary scenario metadata for host adapters.

Extension Methods

public static TopologyScenario AddEdgeStep(TopologyScenario scenario, String edgeId, String? label = null, String? description = null, Action<TopologyScenarioStep>? configure = null) #
Returns: TopologyScenario

Adds a scenario segment that references an existing topology edge.

Parameters

scenario ChartForgeX.Topology.TopologyScenario requiredposition: 0
The topology scenario.
edgeId System.String requiredposition: 1
The edge id.
label System.String? = null optionalposition: 2
The optional segment label.
description System.String? = null optionalposition: 3
The optional segment description.
configure System.Action<ChartForgeX.Topology.TopologyScenarioStep>? = null optionalposition: 4
Optional step configuration.

Returns

The current scenario.

public static TopologyScenario AddNodeStep(TopologyScenario scenario, String nodeId, String? label = null, String? description = null, Action<TopologyScenarioStep>? configure = null) #
Returns: TopologyScenario

Adds a scenario hop that references an existing topology node.

Parameters

scenario ChartForgeX.Topology.TopologyScenario requiredposition: 0
The topology scenario.
nodeId System.String requiredposition: 1
The node id.
label System.String? = null optionalposition: 2
The optional hop label.
description System.String? = null optionalposition: 3
The optional hop description.
configure System.Action<ChartForgeX.Topology.TopologyScenarioStep>? = null optionalposition: 4
Optional step configuration.

Returns

The current scenario.

public static TopologyScenario WithColor(TopologyScenario scenario, String? color) #
Returns: TopologyScenario

Sets an optional scenario accent color.

Parameters

scenario ChartForgeX.Topology.TopologyScenario requiredposition: 0
The topology scenario.
color System.String? requiredposition: 1
The scenario color.

Returns

The current scenario.

public static TopologyScenario WithDescription(TopologyScenario scenario, String? description) #
Returns: TopologyScenario

Sets an optional scenario description.

Parameters

scenario ChartForgeX.Topology.TopologyScenario requiredposition: 0
The topology scenario.
description System.String? requiredposition: 1
The scenario description.

Returns

The current scenario.

public static TopologyScenario WithMetadata(TopologyScenario scenario, String key, String? value) #
Returns: TopologyScenario

Adds host-readable metadata to a topology scenario.

Parameters

scenario ChartForgeX.Topology.TopologyScenario requiredposition: 0
The topology scenario.
key System.String requiredposition: 1
The metadata key.
value System.String? requiredposition: 2
The metadata value.

Returns

The current scenario.

public static TopologyScenario WithPlayback(TopologyScenario scenario, Int32 stepDurationMilliseconds = 900, Boolean loop = false, Boolean autoPlay = false) #
Returns: TopologyScenario

Configures route timeline playback without enabling automatic playback by default.

Parameters

scenario ChartForgeX.Topology.TopologyScenario requiredposition: 0
stepDurationMilliseconds System.Int32 = 900 optionalposition: 1
loop System.Boolean = false optionalposition: 2
autoPlay System.Boolean = false optionalposition: 3
public static TopologyScenario WithSpotlight(TopologyScenario scenario, Boolean enabled = true) #
Returns: TopologyScenario

Controls whether the route spotlights members by dimming surrounding topology.

Parameters

scenario ChartForgeX.Topology.TopologyScenario requiredposition: 0
enabled System.Boolean = true optionalposition: 1