[graphviz-interest] Edge statements in Dot
Ivan Lazar Miljenovic <[email protected]> Mon, 19 Oct 2015 20:36:43 +1100
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <CA+u6gbze35RM50e55B03aZYxijPz3_JVTzRyC=qGDA37rJfV9Q@mail.gmail.com> |
The definition of the Dot language on the Graphviz website says:
edge_stmt : (node_id | subgraph) edgeRHS [ attr_list ]
edgeRHS : edgeop (node_id | subgraph) [ edgeRHS ]
subgraph : [ subgraph [ ID ] ] '{' stmt_list '}'
My understanding of this is that it's possible to state edges between
multiple nodes using braces, such as: `{a b} -> {c d}` being
equivalent to `a -> c; a -> d; b -> c; b -> d`.
However, it seems that dot, etc. don't actually require the braces and
happily accept `a, b -> c, d` (but *not* `a b -> c d`). Is this
intentional (in which case should the language specification be
updated) or a bug?
--
Ivan Lazar Miljenovic
[email protected]
http://IvanMiljenovic.wordpress.com
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest