I want to show a node a pointing to a node b. b is in a subgraph.
The following dot graphviz code should work.
digraph
{
a;
subgraph cluster_mysubgraph
{
a->b;
}
}
Alas, while the node a is declared outside of any subgraph, it is rendered inside mysubgraph (observed on graphviz 2.36.0 on Ubuntu 14.04):

I've tried variants like pre-declaring b and the like. No success.
A workaround is to declare a in another cluster subgraph.
digraph
{
subgraph cluster_pseudo
{
a;
}
subgraph cluster_mysubgraph
{
a->b;
}
}
This prevents a from appearing inside mysubgraph, but another subgraph is not really an option.

a should really be outside of any subgraph.
Questions
- Is it supposed to be like this ?
- Is there a workaround that preserves intended appearance ?
