4 ms·
I don't know if there's a name for this style of display, but it's the same as the way JSON is depicted on its official site. http://www.json.org http://www.jso
by spiralganglion 14y ago
I don't know if there's a name for this style of display, but it's the same as the way JSON is depicted on its official site. http://www.json.org http://www.json.org
Edit: It's called a Railroad Diagram.
- plq 14y agoNo, it's called a finite state machine ;)
- spiralganglion 14y agoThe FSM is the model, the Railroad Diagram is the view, to borrow terms.
- beala 14y agoWell, as long as we're picking nits, an FSM accepts only regular languages, while a rail road diagram accepts context-free languages[1]. So a railroad diagram isn't really the "view" for an FSM. A state-diagram or state-transition table is (although the whole MVC analogy is itself kind of weird. Where's the controller?). [1] http://en.wikipedia.org/wiki/Syntax_diagram http://en.wikipedia.org/wiki/Syntax_diagram
- modarts 14y ago>Where's the controller? The MV* family of patterns seems to be okay without the notion of a controller.