Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Gephi Cookbook

You're reading from  Gephi Cookbook

Product type Book
Published in May 2015
Publisher
ISBN-13 9781783987405
Pages 296 pages
Edition 1st Edition
Languages
Concepts

Table of Contents (18) Chapters

Gephi Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with Gephi 2. Basic Graph Manipulations 3. Using Graph Layout Algorithms 4. Working with Partition and Ranking Algorithms 5. Running Metrics, Filters, and Timelines 6. Working in the Data Laboratory Mode 7. Getting Graphs and Networks Ready for Preview 8. Exploring Dynamic and Multilevel Graphs 9. Getting Real-world Graph Datasets 10. Exploring Some Useful Gephi Plugins Index

Using the Fruchterman Reingold layout algorithm


The Fruchterman Reingold layout algorithm belongs to the class of force-directed algorithms. It is one of the standard algorithms in Gephi and is made use of quite often.

How to do it…

We will begin with the Les Misérables network and explain how to use the Fruchterman Reingold 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 Fruchterman Reingold.

  4. Hit Run. The chosen graph with the new layout appears in the Graph panel.

The following screenshot shows how the Les Misérables graph will look with the new layout:

How it works…

In the Fruchterman Reingold layout algorithm, the nodes are assumed to be entities made of steel and the edges are assumed to be springs. The attractive force between the nodes mimics the spring force, whereas the repulsive force between...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}