API Reference
Class
MermaidBlockRendering
Provides ChartForgeX rendering adapters for parsed Mermaid block diagrams.
Inheritance
- Object
- MermaidBlockRendering
Methods
public static BlockLayoutBlock ToBlockLayoutBlock(MermaidBlockDocument document, MermaidBlockRenderOptions? options = null) #Returns:
BlockLayoutBlockConverts a Mermaid block document into a reusable block-layout visual block.
Parameters
- document ChartForgeX.Mermaid.MermaidBlockDocument
- options ChartForgeX.Mermaid.MermaidBlockRenderOptions? = null
public static Byte[] ToPng(MermaidBlockDocument document, MermaidBlockRenderOptions? options = null) #Returns:
Byte[]Renders a Mermaid block document to static PNG.
Parameters
- document ChartForgeX.Mermaid.MermaidBlockDocument
- options ChartForgeX.Mermaid.MermaidBlockRenderOptions? = null
public static String ToSvg(MermaidBlockDocument document, MermaidBlockRenderOptions? options = null) #Returns:
StringRenders a Mermaid block document to static SVG.
Parameters
- document ChartForgeX.Mermaid.MermaidBlockDocument
- options ChartForgeX.Mermaid.MermaidBlockRenderOptions? = null
public static VisualArtifact ToVisualArtifact(MermaidBlockDocument document, MermaidBlockRenderOptions? options = null) #Returns:
VisualArtifactWraps a Mermaid block document in a visual artifact envelope backed by a block-layout block.
Parameters
- document ChartForgeX.Mermaid.MermaidBlockDocument
- options ChartForgeX.Mermaid.MermaidBlockRenderOptions? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?