25 Nov
2009
25 Nov
'09
11:58 p.m.
On Wed, Nov 25, 2009 at 6:28 AM, Neil Brown <nccb2@kent.ac.uk> wrote:
It looks like a bug to me. Can you show an exact list of nodes and edges that is causing mkGraph to fail? Or is that what you have displayed, and I can't parse it properly?
From what I can tell, insEdge inserts an edge between two nodes which are already in the graph. The code is calling insEdge on arbitrarily-labeled nodes, which may not exist in the graph.
Instead of picking arbitrary node labels, try selecting arbitrary elements from the list of node labels. -- Dave Menendez <dave@zednenem.com> <http://www.eyrie.org/~zednenem/>