It's irrelevant whether it is diagonal. Which point would you like to end up at? You go backwards from that point from the cell in which it was finalised (here, the last entry in that column), just as @ne555 showed in the previous example.
You would also learn Dijkstra's algorithm if you followed the "rounds" in the table. Personally, I would indicate in that table when a node had been finalised; e.g. by making it bold, or shading out everything below it.