[graphviz-interest] Mixing layouts in a single render

Simon <[email protected]> Mon, 17 Nov 2014 08:21:54 -0500
Newsgroups gmane.comp.video.graphviz
Message-ID <CAN1q39VRU-OFn=3eBvDNy6R7B6EF_DRYxyp5FNjyOuWH8GjDAw@mail.gmail.com>
Hi all,

I would need to render an image with graphviz showing a directed graph in
usual DOT layout, surrounded by other kinds of layout (I would try neato,
circo or twopi).  The center graph depicts a hierarchy and needs to look
like it at a glance.  The other nodes are "related" in various ways and
would be best placed outside the hierarchy (surrounding or encircling the
hierarchy).

This does not seem possible in a single pass.  Howerver, I think I could
render the hierarchy alone in dot layout and output it in dot format, then
use the nodes positions to force them when rendering it again in
neato/circo/etc format with all nodes.

Is this the way you would do it?  Is there a simpler way, or are there
tools that wrap around or use graphviz to achieve this sort of thing?

Thanks,

Simon

_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest