Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Which software is used to draw these (recursive processing) graphs?

Example at json.org: JSON number

Example at sqlite.org: SQLite table-constraint

share|improve this question

closed as off topic by random Aug 2 '12 at 0:11

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

What's recursive about them? –  martineau Aug 1 '12 at 23:53
In what way is this off-topic while the questions about generating other types of graphics are acceptable? –  James M. Aug 2 '12 at 0:50
@martineau They are (in this case) graphs about how to read these constructs using recursive processing (instead of regular expressions). –  Camilo Martin Aug 2 '12 at 0:59
I'm also curious why it got closed as off-topic... I'm just asking how can I make this graph. –  Camilo Martin Aug 2 '12 at 0:59
There's essentially an identical non-closed SU question (and a similar, but more elaborate answer) here. –  martineau Aug 2 '12 at 11:40
show 2 more comments

1 Answer

up vote 5 down vote accepted

There's an online generator here. The Wikipedia article on railroard diagrams (aka syntax digrams) where I found it also has some other references which might be helpful.

share|improve this answer
Thanks, I didn't even knew that was the name :) Still, I wonder why my question got downvoted and closed... –  Camilo Martin Aug 2 '12 at 1:02
Don't know @Camilo, seems like a perfectly reasonable question to me. Anyway, now that you know the common names for this sort of diagram, you should be able to continue your search for tools to generate them. I don't think whether the grammar is recursive or not matters. –  martineau Aug 2 '12 at 1:42
Yes, thanks again! –  Camilo Martin Aug 2 '12 at 1:59
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.