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

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.

How to do it…

Let's recolor the nodes of the Les Misérables graph by using the following steps:

  1. Click on the Nodes tab in the Ranking panel that is located next to the Partition panel on the upper-left side of the Gephi application window.

  2. Click on the...