Mermaid Flow Playerv0.1
Diagrams that play, narrate, and remember where you left off.
Render Mermaid once, then let people step through the flow with controls, narration, minimap, and URL state — without depending on Mermaid’s internal DOM.
02 ─ features
Composable pieces, sane defaults.
- /01Semantic node targeting.
Reference nodes by their Mermaid IDs (
A,B,X1) — never by brittle DOM selectors. - /02Three ways in.
Drop in the auto script, the
<mermaid-flow-player>web component, or the programmatic API. Same engine. - /03State that survives reloads.
URL-synced step, persisted “visited” set, theme-aware rendering. Bookmarks just work.
- /04Narration & TTS hooks.
Per-step text plus
mfp:stepevents. Wire it tospeechSynthesisin five lines.
03 ─ next