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 label colors in a graph by ranking nodes

Node label colors can also be configured in a similar way to how node colors and sizes can be configured by ranking the nodes of the graph. This recipe will describe this process of configuring node label colors, based on various ranking parameters.

Getting ready

Load the Les Misérables graph in Gephi. Click on the small upward-facing triangle in the bottom-right corner of the Graph panel to expand the bottom panel. In the Labels tab of this panel, check the checkbox next to Node to make the node labels appear on the graph. To make sure that the final visualization is neat and comprehensible, run the Fruchterman Reingold algorithm, followed by the Label Adjust algorithm on this graph.

How ...

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