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 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 parameter from the drop-down list.

  5. Choose the desired color palette and fix color gradient in the same way as you did in all the previous recipes described in this chapter.

  6. Move the slider to descope the nodes belonging to a specific range of the...