Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

MermaidPacketRendering

Namespace ChartForgeX.Mermaid
Assembly ChartForgeX.Mermaid
Modifiers static

Provides ChartForgeX rendering adapters for parsed Mermaid packet diagrams.

Inheritance

  • Object
  • MermaidPacketRendering

Methods

public static PacketLayoutBlock ToPacketLayoutBlock(MermaidPacketDocument document, MermaidPacketRenderOptions? options = null) #
Returns: PacketLayoutBlock

Converts a Mermaid packet document into a reusable packet-layout visual block.

Parameters

document ChartForgeX.Mermaid.MermaidPacketDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidPacketRenderOptions? = null optionalposition: 1
public static Byte[] ToPng(MermaidPacketDocument document, MermaidPacketRenderOptions? options = null) #
Returns: Byte[]

Renders a Mermaid packet document to static PNG.

Parameters

document ChartForgeX.Mermaid.MermaidPacketDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidPacketRenderOptions? = null optionalposition: 1
public static String ToSvg(MermaidPacketDocument document, MermaidPacketRenderOptions? options = null) #
Returns: String

Renders a Mermaid packet document to static SVG.

Parameters

document ChartForgeX.Mermaid.MermaidPacketDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidPacketRenderOptions? = null optionalposition: 1
public static VisualArtifact ToVisualArtifact(MermaidPacketDocument document, MermaidPacketRenderOptions? options = null) #
Returns: VisualArtifact

Wraps a Mermaid packet document in a visual artifact envelope backed by a packet-layout block.

Parameters

document ChartForgeX.Mermaid.MermaidPacketDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidPacketRenderOptions? = null optionalposition: 1