fix: quote parenthesized Mermaid edge label to avoid parse error
Mermaid's pipe-style edge labels need quotes when the text contains parentheses; node labels in brackets were already fine.
This commit is contained in:
@@ -243,7 +243,7 @@ No component, no DOM, no async — just data in, data out.
|
|||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
flowchart LR
|
flowchart LR
|
||||||
View["View\n(template event)"] -->|dispatch(Msg)| Dispatch["store.dispatch"]
|
View["View\n(template event)"] -->|"dispatch(Msg)"| Dispatch["store.dispatch"]
|
||||||
Dispatch --> Reduce["reduce(state, Msg)"]
|
Dispatch --> Reduce["reduce(state, Msg)"]
|
||||||
Reduce -->|"new state"| Signal["state signal .set()"]
|
Reduce -->|"new state"| Signal["state signal .set()"]
|
||||||
Signal -->|"state() read in template"| View
|
Signal -->|"state() read in template"| View
|
||||||
|
|||||||
Reference in New Issue
Block a user