Hi!
Maintainer of edotor.net and a Graphviz language server here. Someone reported an issue with my implementation. Basically, it’s about comma-separated node IDs that are pointing to each other. Ref:
In short, this code:
d:e, m:e -> v01:w, v02:w
Should be equivalent (according to the grammar/spec on Graphviz.org) to this:
d:e m:e -> v01:w v02:w
As linked in the issue above, it is not the case when looking at Graphviz’ implementation of the grammar. It’s actually more like
{d:e m:e} -> {v01:w v02:w}
With the exception that the port information is dropped when using sub graphs.
However, the spec denotes:
Semicolons and commas aid readability but are not required. Also, any amount of whitespace may be inserted between terminals.
What’s the intended behaviour in this case? Are there other scenarios that don’t align 100% with the formal spec? If this is intended (which I assume), is it planned to update the formal grammar?