Skip to content
ChartForgeX
Class

MermaidAgentflowRendering

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
static

Maps inert Agentflow semantics to the canonical native topology scene.

Inheritance

  • object
  • MermaidAgentflowRendering

Methods

public static byte[] ToPng(MermaidAgentflowDocument document, MermaidTopologyRenderOptions? options = null) #

Exports the same native workflow as PNG.

Parameters

document ChartForgeX.Mermaid.MermaidAgentflowDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional

Returns

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

Exports the native workflow as script-free SVG.

Parameters

document ChartForgeX.Mermaid.MermaidAgentflowDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional

Returns

string
public static TopologyChart ToTopologyChart(MermaidAgentflowDocument document, MermaidTopologyRenderOptions? options = null) #

Creates a native workflow layout without invoking instructions, connectors or external engines.

Parameters

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

Creates an SVG/PNG/HTML/JSON artifact backed by one native workflow.

Parameters

document ChartForgeX.Mermaid.MermaidAgentflowDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional