Book Image

Gephi Cookbook

Book Image

Gephi Cookbook

Overview of this book

Table of Contents (18 chapters)
Gephi Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Using the Force Atlas 2 layout algorithm


Force Atlas 2 is another algorithm in the set of force-directed algorithms available in Gephi. Force Atlas 2 attempts to resolve the shortcomings of the Force Atlas algorithm by making a balance between the quality of the final layout and the speed of the computation algorithm. Its performance for large networks is much better when compared to the Force Atlas layout algorithm.

How to do it…

We will begin with the Les Misérables network and explain how to use the Force Atlas 2 layout algorithm on it. The steps remain the same for any other network too. So let's get started.

  1. Load the Les Misérables graph in Gephi.

  2. In the Layout panel, click on the drop-down menu that says ---Choose a layout.

  3. From the drop-down menu, select Force Atlas 2.

  4. Set Scaling to a large value, such as 300.0, otherwise some of the nodes will overlap each other. Hit Run.

The following screenshot shows how the Les Misérables graph will look when the Force Atlas 2 layout algorithm is run...