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 the colors of edge labels in a graph by ranking edges

Earlier in this chapter, we learned how to reconfigure the colors of node labels in a graph by ranking the graph. In this recipe, we will learn how to perform the same operation for edge labels.

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 Edge. Now click on Configure and then click on Edge. Select the checkbox next to Weight and hit OK 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 ...

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