I am experiencing some problems in calculating the shortest path length matrix. Note that it is giving zeroes for all the cells, even when vertices are connected. I noticed the V() function return indexes in the indexes and in my graph return quoted numbers. Explicitly telling the indexes also does not solve the problem.
The example in the documentation is working. I do not know what is the problem in my code. Below is a toy example.
Thanks.
Thiago
test = read.graph("b", format="ncol", names=T) > test Vertices: 4 Edges: 3 Directed: FALSE Edges: