Add render-graphs.js tool for visualizing skill flowcharts

This commit is contained in:
Jesse Vincent
2025-12-11 11:53:15 -08:00
parent a9b94ae5d7
commit 28ba020000
2 changed files with 174 additions and 0 deletions

View File

@@ -288,6 +288,12 @@ digraph when_flowchart {
See @graphviz-conventions.dot for graphviz style rules.
**Visualizing for your human partner:** Use `render-graphs.js` in this directory to render a skill's flowcharts to SVG:
```bash
./render-graphs.js ../some-skill # Each diagram separately
./render-graphs.js ../some-skill --combine # All diagrams in one SVG
```
## Code Examples
**One excellent example beats many mediocre ones**