Hi,

I have a below edge list. How to find the parents path for every vertex?

Example :

Vertex 1 path : 2, 3, 4, 5, 6
Vertex 2 path : 3, 4, 5, 6
Vertex 3 path : 4,5,6
vertex 4 path : 5,6
vertex 5 path : 6

Could you please let me know how to do this? (or) Any suggestion

  Source Vertex Destination Vertex  1 2  2 3  3 4  4 5  5 6
Regards,
Rajesh

Reply via email to