Skip to content
ChartForgeX
Class

MermaidJourneyRendering

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
static

Maps parsed Mermaid Journey notation to its reusable native diagram.

Inheritance

  • object
  • MermaidJourneyRendering

Methods

public static JourneyDiagramBlock ToJourneyDiagramBlock(MermaidJourneyDocument document, MermaidJourneyRenderOptions? options = null) #

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

Parameters

document ChartForgeX.Mermaid.MermaidJourneyDocument required
options ChartForgeX.Mermaid.MermaidJourneyRenderOptions? = null optional
public static byte[] ToPng(MermaidJourneyDocument document, MermaidJourneyRenderOptions? options = null) #

Renders native PNG from the same composed scene.

Parameters

document ChartForgeX.Mermaid.MermaidJourneyDocument required
options ChartForgeX.Mermaid.MermaidJourneyRenderOptions? = null optional

Returns

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

Renders native static SVG.

Parameters

document ChartForgeX.Mermaid.MermaidJourneyDocument required
options ChartForgeX.Mermaid.MermaidJourneyRenderOptions? = null optional

Returns

string
public static VisualArtifact ToVisualArtifact(MermaidJourneyDocument document, MermaidJourneyRenderOptions? options = null) #

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

Parameters

document ChartForgeX.Mermaid.MermaidJourneyDocument required
options ChartForgeX.Mermaid.MermaidJourneyRenderOptions? = null optional