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 Expansion layout algorithm

Sometimes the graph under consideration might be too dense, with the nodes placed very near to each other. Such a graph makes it difficult to visualize the network, thereby hampering its interpretation and understanding. This is where the Expansion layout algorithm comes to the rescue. Using this algorithm, one can scale up the network and make it appear sparser.

How to do it…

Considering the Les Misérables network, the steps to use the Expansion layout algorithm to get an expanded version of the network are as follows. The steps remain the same for any other network, too:

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

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