We must be cautious in our definition of "distance."
Look at the graph to the left. What is the distance from vertex to vertex ?