Mental Model
We find the shortest path in a graph with no cycles by first ordering nodes so all edges go forward, then relaxing edges in that order.
Analogy: Imagine tasks that depend on others; you do them in order so you never do a task before its dependencies. This order helps find the quickest way to finish all tasks.
Graph (DAG): 0 -> 1 -> 3 ↓ ↓ 2 -> 4 Topological order: 0 -> 1 -> 2 -> 4 -> 3
