in reply to Re^3: Print all possible paths in a graph and some graph creation too!
in thread Print all possible paths in a graph and some graph creation too!

Thanks,this works really well, i will be building my code on this code.

The enhancement I am doing is also print a list of all the nodes, and the paths passing through the nodes. for example node B2 may have paths 2,4,6,8,9 passing thorough it. Path number is the element number of @path+1.

  • Comment on Re^4: Print all possible paths in a graph and some graph creation too!