O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works...

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required