den-run-ai / yapgvb

Automatically exported from code.google.com/p/yapgvb
0 stars 0 forks source link

pos field of nodes can be None after calling layout #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Do the following multiple times (< 10 times):

1. Generate a random graph
2. Call layout(engine='dot') on created graph (I also tried with other engines)
3. Traverse over the graph using the graph.nodes iterator and inspect the pos 
field. 

What is the expected output? What do you see instead?
Expected output is that after calling layout the pos field for all the nodes is 
set to some non-None value (i.e. a 2 tuple in my cases). 

Instead I see about every 5 graphs I create or so, None values for some or all 
nodes. 

What version of the product are you using? On what operating system?
1.2.3-0ubuntu3 on Ubuntu Lucid

Please provide any additional information below.
The return value for the layout method was 0 in all cases. 

Original issue reported on code.google.com by iamp...@gmail.com on 23 Sep 2010 at 2:35