Ex4pm.Information.MermaidExport (ex4pm v26.9.9)

Copy Markdown View Source

Renders a production Ex4pm.Information Reactor as a Mermaid flowchart via the vendored Reactor.Mermaid module.

This is a thin wrapper -- it does not reimplement Mermaid rendering. It exists so callers in this app don't have to know the Reactor.Mermaid option shape.

Summary

Functions

Render reactor (a Reactor-using module, e.g. Ex4pm.Information.Flow) as a Mermaid flowchart binary.

Types

options()

@type options() :: Reactor.Mermaid.options()

reactor_module()

@type reactor_module() :: module()

Functions

to_mermaid!(reactor, options \\ [])

@spec to_mermaid!(reactor_module(), options()) :: binary()

Render reactor (a Reactor-using module, e.g. Ex4pm.Information.Flow) as a Mermaid flowchart binary.

Raises on failure. Delegates directly to Reactor.Mermaid.to_mermaid!/2.