Mental Model
In a graph with no cycles, we can find the shortest path by visiting nodes in order where all edges go forward, updating distances as we go.
Analogy: Imagine a line of dominoes set up so each domino can only knock down the next ones ahead, never behind. By pushing them in order, you know exactly how far the push travels to each domino.
0 -> 1 -> 2 -> 3 -> null ↑ topological order Distances update as we move forward
