Skip to content
ChartForgeX
Class

MermaidTimelineRendering

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
static

Maps parsed Mermaid Timeline notation to its reusable native diagram.

Inheritance

  • object
  • MermaidTimelineRendering

Methods

public static byte[] ToPng(MermaidTimelineDocument document, MermaidTimelineRenderOptions? options = null) #

Renders native PNG from the same composed scene.

Parameters

document ChartForgeX.Mermaid.MermaidTimelineDocument required
options ChartForgeX.Mermaid.MermaidTimelineRenderOptions? = null optional

Returns

byte[]
public static string ToSvg(MermaidTimelineDocument document, MermaidTimelineRenderOptions? options = null) #

Renders native static SVG.

Parameters

document ChartForgeX.Mermaid.MermaidTimelineDocument required
options ChartForgeX.Mermaid.MermaidTimelineRenderOptions? = null optional

Returns

string
public static TimelineDiagramBlock ToTimelineDiagramBlock(MermaidTimelineDocument document, MermaidTimelineRenderOptions? options = null) #

Creates the native diagram, retaining authored ordering and section identity.

Parameters

document ChartForgeX.Mermaid.MermaidTimelineDocument required
options ChartForgeX.Mermaid.MermaidTimelineRenderOptions? = null optional
public static VisualArtifact ToVisualArtifact(MermaidTimelineDocument document, MermaidTimelineRenderOptions? options = null) #

Wraps the native diagram in the shared bounded Mermaid artifact policy.

Parameters

document ChartForgeX.Mermaid.MermaidTimelineDocument required
options ChartForgeX.Mermaid.MermaidTimelineRenderOptions? = null optional