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