Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: drop-down diagrams #19

Open
sunvis0r opened this issue Nov 5, 2022 · 1 comment
Open

Feature request: drop-down diagrams #19

sunvis0r opened this issue Nov 5, 2022 · 1 comment

Comments

@sunvis0r
Copy link

sunvis0r commented Nov 5, 2022

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

@VladimirAlexiev
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants