Table of Contents

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

manifest FlowManifest

The manifest to render.

options MermaidExportOptions

Optional rendering options; falls back to defaults when null.

Returns

string

A Mermaid flowchart string 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

flow IFlowDefinition

The flow whose Manifest will be rendered.

options MermaidExportOptions

Optional rendering options; falls back to defaults when null.

Returns

string

A Mermaid flowchart string suitable for direct Markdown embedding.