The Yifan Hu layout algorithm uses the same concept as Force Atlas to compute the new layout of the network by optimizing the overall internode repulsions. The difference lies in the pair of nodes that are taken into consideration for the computation of repulsive forces. In the Yifan Hu layout algorithm, only pairs of adjacent nodes are taken into consideration. This is different from the Force Atlas algorithm in which every pair of nodes is considered for the computation of forces. This leads to reduced complexity in the Yifan Hu layout algorithm and hence the new layout is computed much faster.