Skip to content

Instantly share code, notes, and snippets.

@ordnungswidrig
Created September 11, 2012 23:14
Show Gist options
  • Save ordnungswidrig/3702909 to your computer and use it in GitHub Desktop.
Save ordnungswidrig/3702909 to your computer and use it in GitHub Desktop.
Liberator flow chart
digraph {
node[shape="box", splines=ortho]
"start"[shape=circle];
"start" -> "service-available?"
"handle-multiple-representations" [peripheries=2];
"handle-ok" [peripheries=2];
"multiple-representations?" -> "handle-multiple-representations" [label = "true"]
"multiple-representations?" -> "handle-ok" [label="false"]
"handle-no-content" [peripheries=2];
"respond-with-entity?" -> "multiple-representations?" [label = "true"]
"respond-with-entity?" -> "handle-no-content" [label="false"]
"handle-created" [peripheries=2];
"new?" -> "handle-created" [label = "true"]
"new?" -> "respond-with-entity?" [label="false"]
"handle-see-other" [peripheries=2];
"post-redirect?" -> "handle-see-other" [label = "true"]
"post-redirect?" -> "new?" [label="false"]
"post!"[shape="ellipse"];
"post!"-> "post-redirect?"
# ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment