fabro/test/docs/tutorials/branch-loop/fixed-loop.dot
Bryan Helmkamp 73a793bdb1 Add extracted fixed-loop DOT fixture from branch-loop tutorial
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-11 08:57:00 -04:00

14 lines
409 B
Text

digraph FixedLoop {
graph [goal="Run an improvement loop 5 times"]
rankdir=LR
start [shape=Mdiamond, label="Start"]
exit [shape=Msquare, label="Exit"]
improve [label="Improve", prompt="Pick an area and improve it."]
gate [shape=diamond, label="5 Done?"]
start -> improve -> gate
gate -> exit [condition="context.internal.node_visit_count >= 5"]
gate -> improve
}