DAG Recipes

A visual format for recipes: actions flow left-to-right, ingredients flow top-to-bottom in dependency (Kahn) order

How to use
  • Pick a recipe from the dropdown, or click + New recipe to start from scratch, then edit the recipe in the Form view
  • Toggle to JSON to inspect or hand-edit the recipe; switch back to the form with valid recipe JSON
  • Every recipe — the Banana Bread example and your own — is saved to this browser automatically and restored on reload; use Delete recipe to remove the current recipe
  • Log in to keep your recipes on the server instead of this browser.
  • Tip: Use the preview graph option to better understand the table view as well.

The idea behind it: each action or ingredient may depend on other actions, forming a directed acyclic graph (DAG) — nodes are actions or ingredients, an edge A→B means "B needs A done first". Kahn's algorithm topologically sorts that graph, so the ingredients of every dependency action are always listed before the action that uses them. Rows therefore read top-to-bottom in real cooking order, and action columns read left-to-right in the same dependency order.

Turn a recipe link into app-ready JSON

Paste a recipe link below, then copy the LLM prompt. Paste the prompt (with the link) into your favorite LLM and drop the returned JSON into the JSON view.