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

PreparedTopology

Namespace ChartForgeX.Topology
Assembly ChartForgeX
Modifiers sealed

A detached layout snapshot shared by SVG, PNG, diagnostics, and native-document interchange. Changes to the source chart, options, artwork or font resources do not change the compiled scene.

Inheritance

  • Object
  • PreparedTopology

Usage

Explore 14 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 9

Methods

public TopologyLayoutDiagnosticReport Analyze() #
Returns: TopologyLayoutDiagnosticReport

Measures the prepared geometry in output coordinates without running layout again. The returned report is detached.

public TopologyReadabilityReport AssessReadability(Double targetWidth, Double targetHeight, Double minimumScale = 0.65) #
Returns: TopologyReadabilityReport

Evaluates collisions, viewport expansion, and readability at a target display size.

Parameters

targetWidth System.Double requiredposition: 0
targetHeight System.Double requiredposition: 1
minimumScale System.Double = 0.65 optionalposition: 2
public VisualArtifactInterchangeEnvelope ToInterchangeEnvelope() #
Returns: VisualArtifactInterchangeEnvelope

Returns a detached semantic envelope with the positions used by the renderers.

public Byte[] ToPng() #
Returns: Byte[]

Renders the same prepared geometry through the dependency-free raster renderer.

public String ToSvg() #
Returns: String

Renders the prepared geometry without running layout again.

Properties

public Double Width { get; } #

Gets the prepared geometry width in pixels, before optional output fitting.

public Double Height { get; } #

Gets the prepared geometry height in pixels, before optional output fitting.

public Int32 NodeCount { get; } #

Gets the number of nodes retained by the selected view.

public Int32 EdgeCount { get; } #

Gets the number of retained relationships.

public String? Title { get; } #

Gets the source title without requiring interchange serialization.

public String? Language { get; } #

Gets the source language for accessible labels and surrounding document content.

Extension Methods

WithMotion 2 overloads
public static TopologyMotionPresentation WithMotion(PreparedTopology prepared, TopologyMotionOptions motion) #
Returns: TopologyMotionPresentation

Adds motion to an already prepared topology without repeating layout.

Parameters

prepared ChartForgeX.Topology.PreparedTopology requiredposition: 0
motion ChartForgeX.Topology.TopologyMotionOptions requiredposition: 1
public static TopologyMotionPresentation WithMotion(PreparedTopology prepared, TopologyMotionOptions motion, String? preferredScenarioId) #
Returns: TopologyMotionPresentation

Adds motion to prepared geometry with an independent route scenario preference.

Parameters

prepared ChartForgeX.Topology.PreparedTopology requiredposition: 0
motion ChartForgeX.Topology.TopologyMotionOptions requiredposition: 1
preferredScenarioId System.String? requiredposition: 2