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

Partitioning the graph based on edge attributes

Nodes are the entities in a graph and edges depict the relationships among these nodes. Sometimes, more than the nodes, these edges are of more interest to anyone performing exploratory analysis on graphs. In this recipe, we will learn how to partition the graph based on edge parameters and color the graph accordingly, in order to get better insights into the network under consideration.

Getting ready

In order to get started with this recipe, we will need to load the Les Misérables network into Gephi. Gephi doesn't have an off-the-shelf partitioning technique that utilizes an edge-based parameter. So, go to the Data Laboratory mode in Gephi, click on the Edges tab in the Data Table panel, and add labels ...

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