fabro/test/conditions.dot
Bryan Helmkamp 5932b500e7 Implement GET /pipelines/{id}/graph endpoint for SVG rendering
Stores DOT source in ManagedPipeline and pipes it through `dot -Tsvg`
on request. Returns image/svg+xml on success, 502 if graphviz is
unavailable, 404 if pipeline not found. Resolves spec gap #1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 09:13:36 -05:00

16 lines
453 B
Text

digraph Conditions {
graph [goal="Test condition evaluation with OR and parentheses"]
start [shape=Mdiamond]
exit [shape=Msquare]
decide [label="Decide", shape=diamond]
path_a [label="Path A"]
path_b [label="Path B"]
start -> decide
decide -> path_a [condition="outcome=success && context.mode=fast"]
decide -> path_b [condition="outcome=success || context.fallback=true"]
path_a -> exit
path_b -> exit
}