[sage-support] Re: Plotting multiedge Graphs

2009-01-16 Thread Jason Grout
leeclarks...@gmail.com wrote: > Vincent, it seems that you are looking at the wrong section of the > code. The line you referenced is specific to drawing directed graphs, > and unfortunately in the current version (3.2.3) we are still using a > direct call to NetworkX for the basic graph drawing.

[sage-support] Re: Plotting multiedge Graphs

2009-01-16 Thread leeclarks...@gmail.com
Vincent, it seems that you are looking at the wrong section of the code. The line you referenced is specific to drawing directed graphs, and unfortunately in the current version (3.2.3) we are still using a direct call to NetworkX for the basic graph drawing. This call needs to be overwritten, a

[sage-support] Re: Plotting multiedge Graphs

2009-01-16 Thread Vincent D
The code is in devel/sage/sage/graphs/graph.py The problematic line is just this one (line 5490 in devel/sage/sage/ graphs/graph.py) : for u, v, _ in self.edge_iterator() : if u != v : p += arrow((pos[u][0], pos[u][1]), (pos[v][0], pos[v][1]), **edge_style) I will try to fix it for

[sage-support] Re: Plotting multiedge Graphs

2009-01-15 Thread Jason Grout
William Stein wrote: > So I strongly encourage you to do something about this, and can tell > you I think nobody else is working on it. Regarding finding the > code, it's probably somewhere in >SAGE_ROOT/devel/sage/sage/plot/ > but I'm not sure. You might try >sage: search_src? I bel

[sage-support] Re: Plotting multiedge Graphs

2009-01-15 Thread William Stein
On Thu, Jan 15, 2009 at 11:30 AM, Vincent D <20100.delecr...@gmail.com> wrote: > > Hello, > > I'm in trouble with plotting multiedge Graphs because it seems that > there is no method to specify that a plotted edge should be something > else than a segment from one vertex to the other (except for l