vscode-antlr4 icon indicating copy to clipboard operation
vscode-antlr4 copied to clipboard

Suggestion: allow expanding / collapsing nodes in railroad diagram view

Open zspitz opened this issue 6 years ago • 1 comments

For example, in the following railroad diagram: image there should be some way to expand the LineContinuation node to its full definition, in-place: image One issue: how should the expand be triggered? If this was the only possible interaction, then I would suggest clicking on the node should expand (what about collapse). However, perhaps clicking should be reserved for navigation within the railroad diagram view (#25); this would require some kind of additional UI.

zspitz avatar Mar 12 '18 11:03 zspitz

I guess this will require to rewrite this script and use D3.js (like for the other ones). Not sure when I can find the time for that.

mike-lischke avatar Mar 13 '18 08:03 mike-lischke