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

TopologyMotionOptions

Namespace ChartForgeX.Topology

Defines deterministic, script-free topology motion for SVG and sampled raster exports.

Inheritance

  • Object
  • TopologyMotionOptions

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

AddEdges(System.String[] edgeIds) #

Adds explicit edge ids to the route motion source.

Parameters

edgeIds System.String[] required
The edge ids to animate.

Returns

The current motion options.

AtProgress(System.Double progress) #

Sets the sampled progress used by static raster frame rendering.

Parameters

progress System.Double required
Progress from 0.0 to 1.0.

Returns

The current motion options.

RoutePulse(System.String scenarioId, System.String[] edgeIds) #

Creates a route-pulse motion preset for topology scenarios and map routes.

Parameters

scenarioId System.String required
Optional scenario id to animate.
edgeIds System.String[] required
Optional explicit edge ids to animate without requiring a scenario.

Returns

Topology motion options.

RoutePulseForEdges(System.String[] edgeIds) #

Creates a route-pulse motion preset from explicit topology edge ids.

Parameters

edgeIds System.String[] required
Explicit edge ids to animate without requiring a scenario.

Returns

Topology motion options.

RoutePulseForScenario(System.String scenarioId) #

Creates a route-pulse motion preset from a topology scenario.

Parameters

scenarioId System.String required
Scenario id to animate.

Returns

Topology motion options.

WithDuration(System.Double seconds) #

Sets the animation duration.

Parameters

seconds System.Double required
The duration in seconds.

Returns

The current motion options.

WithEndpointPulses(System.Boolean enabled) #

Enables or disables endpoint node pulses for explicit-edge route motion.

Parameters

enabled System.Boolean required
Whether endpoint nodes should pulse.

Returns

The current motion options.

WithFrameLimit(System.Int32 maximumFrames) #

Sets the maximum number of frames sampled by animated raster exports.

Parameters

maximumFrames System.Int32 required
The maximum sampled frame count.

Returns

The current motion options.

WithFrameRate(System.Double framesPerSecond) #

Sets the sampled frame rate used by animated raster exports.

Parameters

framesPerSecond System.Double required
The sampled frame rate.

Returns

The current motion options.

WithMarker(System.Double radius, System.String color) #

Sets the moving route marker radius and optional color.

Parameters

radius System.Double required
The marker radius.
color System.String required
Optional marker color.

Returns

The current motion options.

WithMarkerColor(System.String color) #

Sets the optional moving route marker color.

Parameters

color System.String required
The marker color. Empty values clear the override.

Returns

The current motion options.

Properties

ScenarioId #

Gets or sets the scenario id used as the route source. When unset, the active scenario or first scenario is used.

EdgeIds #

Gets edge ids used as an explicit route source. When set, these edges are animated without requiring a scenario.

DurationSeconds #

Gets or sets the animation duration in seconds.

FramesPerSecond #

Gets or sets the sampled frame rate used by animated raster exports.

MaximumRasterFrames #

Gets or sets the maximum number of frames sampled by animated raster exports.

Loop #

Gets or sets whether the animation loops.

Progress #

Gets or sets the sampled progress from 0.0 to 1.0 used by raster frame rendering.

MarkerRadius #

Gets or sets the moving route marker radius.

MarkerColor #

Gets or sets the optional moving route marker color. When unset, the scenario or edge color is used.

PulseRouteEndpoints #

Gets or sets whether explicit edge motion should pulse source and target nodes.