Re: [graphviz-interest] empty cluster with a size
"Emden R. Gansner" <[email protected]> Fri, 15 Aug 2014 11:24:42 -0400
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
On 8/14/14, 6:52 PM, Ron Newman wrote:
> I need to have a cluster which contains zero nodes, yet has a "bb"
> parameter corresponding to a size specified in the input. As it is,
> Graphviz returns a "bb" parameter in that case but it's empty.
>
> Maybe something like the size attribute for a graph, but for a
> subgraph. Or some other trick to get it to output a "bb" parameter
> that I specify. Can't postprocess the output because the empty
> cluster, since it has a size, needs to be taken into account during
> layout.
>
> I can't use a node of type point or style=invis inside the cluster,
> for reasons that would take too long to explain. I'll also spare you
> the long explanation of the purpose of having an empty cluster, unless
> you're really interested.
>
> --
But if you are using dot for layout, how will you know where your
cluster will appear relative to the layout of the rest of the graph?
Clusters are second-order objects; their positions and sizes are
determined by the nodes they contain. Why not just use a rectangular node
of the desired size?
It would be helpful to know why you need an empty cluster in order to
suggest a workaround. If you feel the explanation doesn't warrant
posting, you
can just respond to me.
Emden
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest