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

So far, we have only seen recipes that configure the properties of the nodes, such as color and size, in a graph. We will now move on to learning how to configure edge properties, such as edge color, depending on the ranking of the graph.

How to do it…

The following steps describe how to configure edge colors in a graph by ranking the edges in the graph:

  1. Load the Les Misérables network into Gephi.
  2. In the Ranking panel, click on the Edges tab.
  3. Click on the button with a multi-colored circle as its icon. This button is located in the upper-right corner of the Ranking panel adjacent to the Edges tab. Hovering the mouse pointer on top of this button should result in a popup that reads Color.
  4. Choose a ranking ...

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