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

Configuring node colors in a graph by ranking nodes

Gephi allows users to reset node properties such as node color and node size in a graph, according to a continuous attribute. This process is termed "ranking" and can happen only for continuous attributes. For example, if we were to consider a modified version of the Les Misérables graph where information such as age and gender is present for every character, then ranking can be performed for the age attribute, whereas, when carrying out graph partition, we will use an attribute such as gender. In this recipe, we will learn how to reassign colors to nodes of a graph, depending on a continuous node attribute.

Getting ready

To get started with this recipe, load the Les Misérables graph in Gephi. ...

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