Skip to content
ChartForgeX
Class

MermaidVennRendering

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
static

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 required
options ChartForgeX.Mermaid.MermaidVennRenderOptions? = null optional

Returns

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

Renders a Mermaid Venn document to static SVG.

Parameters

document ChartForgeX.Mermaid.MermaidVennDocument required
options ChartForgeX.Mermaid.MermaidVennRenderOptions? = null optional

Returns

string
public static VennDiagramBlock ToVennDiagramBlock(MermaidVennDocument document, MermaidVennRenderOptions? options = null) #

Converts a Mermaid Venn document into a reusable Venn visual block.

Parameters

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

Wraps a Mermaid Venn document in a visual artifact envelope.

Parameters

document ChartForgeX.Mermaid.MermaidVennDocument required
options ChartForgeX.Mermaid.MermaidVennRenderOptions? = null optional