Once the friction factors are solved for, then we can start considering the network problem. We can solve the network by satisfying two conditions.
At any junction, the flow into a junction equals the flow out of the junction.
Between any two junctions, the head loss is independent of the path taken.