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 Random Layout algorithm


The Random Layout algorithm is a Gephi layout that doesn't have a defined purpose to it. It isn't very commonly used either, but sometimes comes in handy when the user isn't looking at anything in particular in the graph and just wants to lay out the nodes in an imaginary rectangular space.

How to do it…

Using the Les Misérables network, we will explain how to use the Random Layout algorithm to obtain a randomized version of the network. 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 Random Layout. Hovering over the small round icon with i written on it should open a pop-up information box that reads Random Layout: A random distribution of the nodes.

  4. In the properties box, enter the space size that will define the size of the imaginary rectangular space on which the final graph will...