Class
MermaidJourneyRendering
ChartForgeX.Mermaid
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
- options ChartForgeX.Mermaid.MermaidJourneyRenderOptions? = null
Returns
JourneyDiagramBlockpublic static byte[] ToPng(MermaidJourneyDocument document, MermaidJourneyRenderOptions? options = null) #Renders native PNG from the same composed scene.
Parameters
- document ChartForgeX.Mermaid.MermaidJourneyDocument
- options ChartForgeX.Mermaid.MermaidJourneyRenderOptions? = null
Returns
byte[]public static string ToSvg(MermaidJourneyDocument document, MermaidJourneyRenderOptions? options = null) #Renders native static SVG.
Parameters
- document ChartForgeX.Mermaid.MermaidJourneyDocument
- options ChartForgeX.Mermaid.MermaidJourneyRenderOptions? = null
Returns
stringpublic static VisualArtifact ToVisualArtifact(MermaidJourneyDocument document, MermaidJourneyRenderOptions? options = null) #Wraps the native diagram in the shared bounded Mermaid artifact policy.
Parameters
- document ChartForgeX.Mermaid.MermaidJourneyDocument
- options ChartForgeX.Mermaid.MermaidJourneyRenderOptions? = null
Returns
VisualArtifact