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

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 Class 1. Now, select all these nodes by clicking on the first one, holding down the Shift key and pressing the downward arrow button until all are selected, as shown in the following screenshot:

  6. Now, as shown in the following screenshot, right-click...