What's the name for this type of flowchart?
Asked Answered
N

3

8

Take a look at this; it's very obvious how it works and what its purpose is:

alt text
(source: json.org)

  1. What's this type of chart called?
  2. Can I make this kind of chart in Visio?
  3. What software do you recommend for making this kind of chart?
Nonparticipation answered 16/2, 2010 at 0:42 Comment(4)
Although I know what it does, I wouldn't go that far as to call it "obvious".Warehouseman
Honestly, I think a regex is far more "obvious" than that diagram. /-?([1-9][0-9]*|0)(\.[0-9]*)?([eE][+-]?[0-9]*)?/Maximilianus
A regex isn't as universal as a railroad diagram. A regex requires someone to learn the syntax of a regex first, while a railroad diagram let's you dive in.Dag
I didn't even stop to think for a second that you were joking. Man, I am dense. "I'm Dumbass material, Mr Dumbass." "It's Du-mas"Dag
D
8

It's called a railroad diagram. It can more specifically be called a syntax diagram. Not sure about Visio support but other tools can get the job done: What is a good tool for creating railroad diagrams?

alt text
(source: antlr.org)

If you have a grammar file you can try to get it working in ANTLR Works, which is specifically built for working with the syntax and grammar of languages.

Dag answered 16/2, 2010 at 0:47 Comment(0)
C
2

These are called Syntax diagrams (or railroad diagrams).

They can be created with Visio or Creative Docs .NET

See here for more info:

Tool for generating railroad diagram used on json.org

Chevron answered 16/2, 2010 at 0:48 Comment(0)
N
1

It is a syntax diagram; not sure if there is any visio addon to paint this kind of chart.

Nealneala answered 16/2, 2010 at 0:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.