effect-state-machine
ReferenceGenerated API

Mermaid API

Generated reference for the public Mermaid module.

effect-state-machine API


effect-state-machine API / Mermaid

Mermaid

converting

render()

render(graph): string

Defined in: packages/core/src/Mermaid.ts:20

Renders a graph as a Mermaid stateDiagram-v2 document.

Details

Node titles, invocation names, retry names, child references, event tags, outcome kinds, branch labels, ignored events, and final states are included. Descriptions and activity overlays remain renderer concerns and are not emitted.

Parameters

graph

Graph

Returns

string

Since

0.1.0