I am looking for a JavaScript library to create railroad diagrams similar to those at json.org and h2 database grammar:

railroad diagram

  • Preferring a JS library. A ws would work depending on the requirements. – Brett Ryan May 23 '16 at 7:11

You're probably looking for Tab Atkins' railroad-diagrams.

| improve this answer | |
  • Perfect, thanks! Just what I was after. – Brett Ryan Jun 8 '16 at 3:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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