Consider this simple DOT file.
graph Foo
{
subgraph foo
{
a; b; c;
}
subgraph bar
{
w; x; y;
}
{a,b,c} -- {w,x,y};
}
The statement {a,b,c} -- {w,x,y}
means "connect all nodes in foo to all nodes in bar"...
...except that it doesn't. If I add a node to either foo
or bar
I have to change the statement which conncets them. I'd rather write foo -- bar
but this doesn't work as I'd hope.
Is there any such command in DOT?