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

Clustering links and attributes

One very useful feature of Gephi is the ability it provides to carry out clustering on links and attributes. This recipe will take you through this functionality in detail.

How to do it…

To understand how link- and attribute-based clustering happens in Gephi, follow these steps:

  1. Load the Les Misérables network in Gephi.
  2. Go to the Data Laboratory mode of Gephi by clicking on the Data Laboratory tab, which is located just below the menu bar.
  3. In the Data Laboratory mode, in the upper-right corner of the Gephi window, adjacent to the Filter textbox, select Modularity Class from the drop-down list.
  4. In the Filter textbox, enter 1, as shown in the following screenshot:
  5. This will filter out all the nodes belonging to Modularity ...

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