title: Using the Bellman-Ford algorithm: whats the proper way of traversing each edge?
body: <p>Im doing a homework problem where I need to run the bellman-ford algorithm starting at vertex z. It wants me to "In each pass, relax edges in the same order as in the figure, and show the d and pi values after each pass." 
  From what i understand I thought this algo traverses the graph like a BFS which makes sense from the figure they want me to use, so I cant see how the same path would work. If anyone could point me in the right direction by pointing out how to start it would be very useful. The question, and the figure the question is referring to:
  <img src="https://i.stack.imgur.com/0D0r0.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/yPDjJ.png" alt="enter image description here"></p>