Skip to content

Version History

1.6 - 2/13/2025

Instructions

  • ADD - The Diagrams can now be shown as Textual Diagrams.

Examples

  • ADD - The Diagrams can now be shown as Textual Diagrams.

Railroad Diagram Generator

  • CHANGE - Reorganize again for better display.
  • ADD - The Diagram Code can now easily be cleared and the filenames reset with the new "Clear" button.
  • ADD - The Diagram can now be shown, copied and saved as a Textual Diagram.

1.5 - 2/6/2025

Code Base

  • CHANGE - Merge the railroad.js 1/15/2024 version from railroad-diagrams.
  • CHANGE - Multiple fixes to handling the light and dark schemes.
  • ADD - The recurring-path class is now available to color Terminal and NonTerminal leaves yellow in the provided stylesheets.
  • ADD - The unhappy-path class is now available to color Terminal and NonTerminal leaves red in the provided stylesheets.

Railroad Diagram Generator

  • CHANGE - Rework how sections are identified to make use of the Table of Contents.
  • CHANGE - Reorganize for better display.
  • ADD - Explicitly show the names of the Diagram Code, PNG, and SVG files after opening a code file.
  • ADD - SVG generation options are now available.

Cascading Style Sheets

  • ADD - Dedicated light and dark mode stylesheets are now available.
  • ADD - New sections explaining the four leaf styles that are available to be used.

1.4 - 1/23/2025

Railroad Diagram Generator

  • CHANGE - Modified the Generated Diagram button to save the generated image as a PNG file using the light color scheme.
  • NEW - Added button to save the generated image as a PNG file using the dark color scheme.

1.3 - 2/10/2021

Railroad Diagram Generator

  • NEW - Added button save the generated image as a PNG file.

1.2 - 1/11/2021

Welcome

  • CHANGE - The example has been changed to "US Postal Address".

Examples

  • NEW - Added "US Postal Address" to Examples.

Railroad Diagram Generator

  • CHANGE - Add explanatory text.
  • CHANGE - The default Diagram Code has been changed to "US Postal Address".
  • NEW - Added button to reset the input.
  • NEW - Added button to open a file and load it in the input.
  • NEW - Added button to save the input to a file.

Glossary

1.1 - 12/30/2020

Railroad Diagram Generator

  • NEW - Added button to copy the output with the style.
  • NEW - Added button to save the output as a SVG file.

1.0 - 10/30/2020

  • First version of this website published.