6

I would like to generate diagrams similar to this, but I don't have a clue what to look for.

enter image description here

Vadim Landa
  • 2,784
  • 5
  • 23
  • 33
nowox
  • 25,978
  • 39
  • 143
  • 293
  • http://stackoverflow.com/questions/796824/tool-for-generating-railroad-diagram-used-on-json-org – smali Apr 26 '17 at 11:13

2 Answers2

5

That's a Syntax Diagram.

Syntax diagrams (or railroad diagrams) are a way to represent a context-free grammar.

Links:

Alicia Sykes
  • 5,997
  • 7
  • 36
  • 64
1

These are called syntax diagrams or railroad diagrams for showing context free grammar

There is a tool which can convert BNF notation to railroad diagrams

Ken
  • 4,367
  • 4
  • 28
  • 41