Class
MermaidVennRendering
ChartForgeX.Mermaid
Provides ChartForgeX rendering adapters for parsed Mermaid Venn diagrams.
Inheritance
- object
- MermaidVennRendering
Methods
public static byte[] ToPng(MermaidVennDocument document, MermaidVennRenderOptions? options = null) #Renders a Mermaid Venn document to static PNG.
Parameters
- document ChartForgeX.Mermaid.MermaidVennDocument
- options ChartForgeX.Mermaid.MermaidVennRenderOptions? = null
Returns
byte[]public static string ToSvg(MermaidVennDocument document, MermaidVennRenderOptions? options = null) #Renders a Mermaid Venn document to static SVG.
Parameters
- document ChartForgeX.Mermaid.MermaidVennDocument
- options ChartForgeX.Mermaid.MermaidVennRenderOptions? = null
Returns
stringpublic static VennDiagramBlock ToVennDiagramBlock(MermaidVennDocument document, MermaidVennRenderOptions? options = null) #Converts a Mermaid Venn document into a reusable Venn visual block.
Parameters
- document ChartForgeX.Mermaid.MermaidVennDocument
- options ChartForgeX.Mermaid.MermaidVennRenderOptions? = null
Returns
VennDiagramBlockpublic static VisualArtifact ToVisualArtifact(MermaidVennDocument document, MermaidVennRenderOptions? options = null) #Wraps a Mermaid Venn document in a visual artifact envelope.
Parameters
- document ChartForgeX.Mermaid.MermaidVennDocument
- options ChartForgeX.Mermaid.MermaidVennRenderOptions? = null
Returns
VisualArtifact