[graphviz-interest] Is DOT syntax ambiguous re node names and subgraph names?
Ron Savage <[email protected]> Wed, 19 Nov 2014 10:06:55 +1100
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
Hi See attached. Am I correct in thinking the attached shows a situation where, to disambiguate, dot (by convention) takes 'two' and 'cluster_five' as node names rather than subgraph names? Is the decision documented somewhere? I couldn't see it on http://www.graphviz.org/content/dot-language. -- Ron Savage - savage.net.au _______________________________________________ [email protected] http://lists.research.att.com/mailman/listinfo/graphviz-interest
29.01.svg
(image/svg+xml, 3.6 KB) - not displayed
29.01.gv
(text/vnd.graphviz, 293 B)
digraph graph_29_01
{
# 'one' is a node name, not a subgraph name.
one { two -> three }
# 'cluster_four' is a node name, not a subgraph name.
cluster_four { five -> six }
# 'cluster_seven' is a subgraph name, not a node name.
subgraph cluster_seven { label = "\G" eight -> nine }
}