railroad icon indicating copy to clipboard operation
railroad copied to clipboard

A library to produce syntax diagrams as Scalable Vector Graphics

Results 10 railroad issues
Sort by recently updated
recently updated
newest added

The current default CSS is basically a "light" theme. It would be nice to have a corresponding "dark theme", while still allowing the presentation layer (read: the browser, not only...

Most syntax diagrams run long horizontally but not vertically. It's also true - and related - that most syntax diagrams are made up from long `Sequences` but few `Choices` (which...

In the example 12_select-stmt_diagram.txt, a lot of line length and tracing work for the eye can be saved if the box exit is not forced to be at the same...

Moved over from https://github.com/lukaslueg/macro_railroad/issues/12 --- In many macros, multiple branches share a lot of similar sub-patterns. It would be easier to visually read the diagrams if the similar sub-patterns were...

We currently do not escape the attributes that end up in an `SVG`-element. We need to do that, or somehing like `` will escape the SVG... `htmlescape` is probably fit...

The library is currently only tested using the "visuals"-example. If geometry breaks, we better notice. Come up with a way to better test the library.

The current default CSS is strongly inspired by `JSON.org`'s syntax diagram generator. Come up with a more thought-out default color scheme.

The primitives have a lot of potential options; there are also some (hidden) global options like font-size, margins at such. To keep the API short, most of this is currently...

Hi I'd like to use `railroad` in a c# .net application. I plan to use `https://docs.rs/rnet/latest/rnet/` for getting that done. As per rnet docs, I need to - Add rnet::root!();...

I would like to use this library for rendering railroad diagrams for regular expressions. I would like to be able to use the current types to represent a railroad diagram,...