Find the shortest distance between nodes in the above graph


Nodes d Nodes d Nodes d