On Fri, May 09, 2008 at 10:16:40AM -0600, Ian York wrote: > Being new to networkx, I was just working through the examples. Strangly, > the Konigsberg Bridge graph is not displaying the multiple edges nor the > edge labels in matplotlib - any thoughts on what might be happening? > Ultimately, I'd like to provide a variety of interactions with the graph and > as such would like to keep it in matplotlib, but multiedges, edge labels, > node images, etc are all needed as well. Thanks in advance for any info!
As you have discovered the drawing provided within NetworkX doesn't automatically provide edge labels or parallel edges. But matplotlib (which is doing the drawing) is very powerful and flexible and it is probably possible to produce a drawing like you want.
For example edge labels can be added using matplotlib "text" objects like this: