O'Reilly logo

Gephi Cookbook by Devangana Khokhar

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

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 ...

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