Class FlowMermaidExporter
- Namespace
- FlowOrchestrator.Core.Diagnostics
- Assembly
- FlowOrchestrator.Core.dll
Converts a FlowManifest into a Mermaid flowchart definition.
The returned string can be embedded in any Markdown surface that renders Mermaid
(GitHub README, Confluence, Notion, dev.to, …) without requiring a running app.
public static class FlowMermaidExporter
- Inheritance
-
FlowMermaidExporter
- Inherited Members
Methods
ToMermaid(FlowManifest, MermaidExportOptions?)
Generates a Mermaid flowchart for the given manifest.
public static string ToMermaid(this FlowManifest manifest, MermaidExportOptions? options = null)
Parameters
manifestFlowManifestThe manifest to render.
optionsMermaidExportOptionsOptional rendering options; falls back to defaults when null.
Returns
- string
A Mermaid
flowchartstring suitable for direct Markdown embedding.
ToMermaid(IFlowDefinition, MermaidExportOptions?)
Generates a Mermaid flowchart for the given flow definition.
public static string ToMermaid(this IFlowDefinition flow, MermaidExportOptions? options = null)
Parameters
flowIFlowDefinitionThe flow whose Manifest will be rendered.
optionsMermaidExportOptionsOptional rendering options; falls back to defaults when null.
Returns
- string
A Mermaid
flowchartstring suitable for direct Markdown embedding.