Can't create two-directional edges: 'lost B A edge'
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-pygraphviz (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
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(
B.layout() # layout with default (neato)
B.draw(
I get this:
/usr/lib/
warnings.
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.

11.04 is obsolete. please recheck with newer versions.