rr icon indicating copy to clipboard operation
rr copied to clipboard

Feature request: drop-down diagrams

Open sunvis0r opened this issue 2 years ago • 1 comments

It would be great to be able to view the whole railroad diagram or choose which production rules to reveal. From: image to: image by one click, and, if necessary, return it back (to be able to abstract away from primitive and understandable production rules ­- syntax for URLs as example). This will help in cases where a grammar is cumbersome

sunvis0r avatar Nov 05 '22 15:11 sunvis0r

I considered a similar request; "chunked" diagrams. Here's a shot https://github.com/VladimirAlexiev/grammar-diagrams?tab=readme-ov-file#chunked-sparql-diagram and link to discussion about such a tool.

But it's non-trivial how to control the level of chunking: don't show too much, nor too little.

VladimirAlexiev avatar Mar 18 '24 15:03 VladimirAlexiev