Mermaid Diagrams

Supported Diagram Types

  • Flowcharts
  • Sequence diagrams
  • Pie charts

Usage

Write Mermaid syntax in a fenced code block:

```mermaid
graph TD
    A[Start] --> B{Decision}
    B -->|Yes| C[Action]
    B -->|No| D[End]
```

leaf renders the diagram as ASCII art directly in the terminal using the mmdflux library.