The network flow equivalent to the shortest path tree problem is formed by equating arc distance to arc cost, assigning a fixed external flow of m - 1 (m is the number of nodes) to the source node, and assigning fixed external flows of -1 to every other node.