Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Gephi Cookbook

You're reading from   Gephi Cookbook Over 90 hands-on recipes to master the art of network analysis and visualization with Gephi

Arrow left icon
Product type Paperback
Published in May 2015
Publisher
ISBN-13 9781783987405
Length 296 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. Getting Started with Gephi 2. Basic Graph Manipulations FREE CHAPTER 3. Using Graph Layout Algorithms 4. Working with Partition and Ranking Algorithms 5. Running Metrics, Filters, and Timelines 6. Working in the Data Laboratory Mode 7. Getting Graphs and Networks Ready for Preview 8. Exploring Dynamic and Multilevel Graphs 9. Getting Real-world Graph Datasets 10. Exploring Some Useful Gephi Plugins Index

Partitioning the graph based on node attributes

In this recipe, we will learn how to partition the graph based on node attributes, which can be selected from the readily available Gephi GUI, and then assign the desired colors to the nodes to clearly visualize these partitions.

Getting ready

To get started, load the Les Misérables network in Gephi.

How to do it…

The following steps describe the process of partitioning the Les Misérables network, based on modularity class and then assigning colors to the nodes of each of the partitions, accordingly. The process remains the same for any other graph as well.

  1. With the Les Misérables graph open in Gephi, click on the Nodes tab under the Partition panel, which is located on the upper-left side of the Gephi window.
  2. Click on the refresh button with two encircling green arrows, which is located just below the Nodes tab marker.
  3. This populates the drop-down menu with a list of available partitioning parameters:
    How to do it…
  4. From the drop-down menu...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime