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

MermaidTimelineDocument

Namespace ChartForgeX.Mermaid
Assembly ChartForgeX.Mermaid
Modifiers sealed

Describes a parsed Mermaid timeline document.

Inheritance

Usage

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

Returned or exposed by 1

Accepted by parameters 8

Constructors

public MermaidTimelineDocument() #

Properties

public List<MermaidRawStatement> Statements { get; } #

Gets raw timeline statements retained with source spans.

public String? Title { get; set; } #

Gets or sets the optional Mermaid timeline title.

public MermaidTimelineDirection Direction { get; set; } #

Gets or sets the declared timeline direction.

public List<MermaidTimelineSection> Sections { get; } #

Gets timeline sections in source order.

public List<MermaidTimelinePeriod> Periods { get; } #

Gets timeline periods in source order.

Extension Methods

public static Chart ToChart(MermaidTimelineDocument document, MermaidTimelineRenderOptions? options = null) #
Returns: Chart

Converts a Mermaid timeline document into a renderer-independent ChartForgeX timeline chart.

Parameters

document ChartForgeX.Mermaid.MermaidTimelineDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidTimelineRenderOptions? = null optionalposition: 1
public static Byte[] ToPng(MermaidTimelineDocument document, MermaidTimelineRenderOptions? options = null) #
Returns: Byte[]

Renders a Mermaid timeline document to static PNG through ChartForgeX chart rendering.

Parameters

document ChartForgeX.Mermaid.MermaidTimelineDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidTimelineRenderOptions? = null optionalposition: 1
public static String ToSvg(MermaidTimelineDocument document, MermaidTimelineRenderOptions? options = null) #
Returns: String

Renders a Mermaid timeline document to static SVG through ChartForgeX chart rendering.

Parameters

document ChartForgeX.Mermaid.MermaidTimelineDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidTimelineRenderOptions? = null optionalposition: 1
public static VisualArtifact ToVisualArtifact(MermaidTimelineDocument document, MermaidTimelineRenderOptions? options = null) #
Returns: VisualArtifact

Wraps a Mermaid timeline document in a visual artifact envelope backed by a ChartForgeX timeline chart.

Parameters

document ChartForgeX.Mermaid.MermaidTimelineDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidTimelineRenderOptions? = null optionalposition: 1