Skip to content

Instantly share code, notes, and snippets.

@afternoon
Created October 31, 2011 23:34
Show Gist options
  • Save afternoon/1329408 to your computer and use it in GitHub Desktop.
Save afternoon/1329408 to your computer and use it in GitHub Desktop.
Recipe For Tarte Tatin Represented As A Directed Acyclic Graph
digraph tartetatin {
node [fontname=Helvetica, shape=rect];
// ingredients
{
node [color=gray, style=filled];
butter; sugar; water; apple; rosemary; pastry;
}
// temps
{
node [color=red, style=filled];
"heat 180";
"heat medium";
}
// waits
{
node [color=blue, style=filled];
"wait until light brown";
"wait 10m";
}
butter -> pan;
sugar -> pan;
water -> pan;
pan -> "heat medium" -> "wait until light brown" -> "pan with caramel";
apple -> core -> peel -> halve -> "pan with caramel";
rosemary -> "pan with caramel";
pastry -> "pan with caramel";
"heat 180" -> oven;
"pan with caramel" -> oven -> "wait 10m" -> serve;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment