[prev in list] [next in list] [prev in thread] [next in thread] 

List:       graphviz-interest
Subject:    Re: [graphviz-interest] straight edges and arc edges
From:       "Emden R. Gansner" <erg () research ! att ! com>
Date:       2007-06-01 13:52:36
Message-ID: 466024A4.9020001 () research ! att ! com
[Download RAW message or body]

At present, how edges are drawn is a graph attribute, and cannot be set 
on an edge by edge basis. As Cyril
noted, some attributes can encourage edges to be drawn more like a line 
segment.

As a simple workaround, suppose you give an attribute type=segment to 
each edge you want drawn as
a line segment. Then the following will give you what you want:

  dot graph.dot | gvpr -c 'E[type=="segment"]{pos=""}' | neato -n2 -T...

    Emden



_______________________________________________
graphviz-interest@research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic