Class
MermaidAgentflowRendering
ChartForgeX.Mermaid
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
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
byte[]public static string ToSvg(MermaidAgentflowDocument document, MermaidTopologyRenderOptions? options = null) #Exports the native workflow as script-free SVG.
Parameters
- document ChartForgeX.Mermaid.MermaidAgentflowDocument
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
stringpublic 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
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
TopologyChartpublic 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
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
VisualArtifact