mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Add extracted fixed-loop DOT fixture from branch-loop tutorial
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
30d1a11ace
commit
73a793bdb1
1 changed files with 14 additions and 0 deletions
14
test/docs/tutorials/branch-loop/fixed-loop.dot
Normal file
14
test/docs/tutorials/branch-loop/fixed-loop.dot
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue