[Bug 871864] Re: Can't create two-directional edges: 'lost B A edge'
Matthias Klose
doko at ubuntu.com
Fri Jan 8 14:36:23 UTC 2016
11.04 is obsolete. please recheck with newer versions.
** Changed in: python-pygraphviz (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-pygraphviz in Ubuntu.
https://bugs.launchpad.net/bugs/871864
Title:
Can't create two-directional edges: 'lost B A edge'
Status in python-pygraphviz package in Ubuntu:
Invalid
Bug description:
Kubuntu 11.04
python-pygraphviz 1.0-1build1 from Ubuntu repositories.
My DOT file:
strict digraph graphName {
concentrate=true
A->B
B->A
}
it compiles OK with dot:
dot simple2.dot -Tpng:cairo:gd -o testi.png
but when I try it with pygraphviz:
#!/usr/bin/env python
import pygraphviz as pgv
B=pgv.AGraph('simple2.dot') # create a new graph from file
B.layout() # layout with default (neato)
B.draw('simple.png') # draw png
I get this:
/usr/lib/pymodules/python2.7/pygraphviz/agraph.py:1170: RuntimeWarning: Error: lost B A edge
warnings.warn("".join(errors),RuntimeWarning)
and the generation is aborted.
Removing or commenting the concentrate -line from the .dot file, the
output is generated but with two one-headed arrows instead of one two-
headed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pygraphviz/+bug/871864/+subscriptions
More information about the foundations-bugs
mailing list