Re: [graphviz-interest] edge positioning (separation)

"Emden R. Gansner" <[email protected]>
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
On 3/6/13 5:11 AM, Stefan Petrea wrote:
> How can I separate this edges?
> Here's the actual real thing I'm using graphviz for <http://i.imgur.com/rgYxB7G.png>.
> I want to keep things simple but you can see the bottom red node is quite overwhelmed with edges 
> that are overlapping themselves.
> How can I do this. Please also provide an example.
>
This is a difficult problem, especially if the idea is to handle it fully automatically. The 
difficulty is from your example. Dot attempts to
pack things together fairly tightly, so when it comes time to route the edges, there isn't much 
space to maneuver. More ports could be
used, but then the splines would become more twisty. (It would not be hard to hard to extend the DOT 
grammar and code to allow ports
expressed as angles.)

With the current code, you could try adding more space, either increasing ranksep/nodesep or by 
using the minlen attribute to push the
red node further down. The edges should then automatically space themselves out more evenly.

A separate possibility is to use orthogonal routing: splines=ortho, and see what happens.

      Emden

_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.