Given the flowchart [jamesrobertson.eu] I created yesterday I've had an idea about how I could create a flowchart from a Polyrex document.
Here's how the flowchart would appear as a decision tree:

Here's how it would look as a raw Polyrex document in plain text.
<?polyrex schema="tree/entry[item]"?>
known route
run job
plink address?
run job
local file?
return contents
return 404
Given the above Polyrex document a flowchart could be generated automatically.