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

Getting an edge overview of a graph


Similar to getting an overview of the statistical properties of nodes in a graph, Gephi also allows users to get an overview of the statistical properties of edges in a graph. In this recipe, you will learn about one such statistical property called average path length.

How to do it…

The following steps describe how to compute the average path length in Gephi:

  1. Load the undirected version of the Les Misérables network in Gephi.

  2. In the Statistics panel, under the Edge Overview tab, click on Run against Avg. Path Length. This opens up the Graph Distance settings window:

  3. In the Graph Distance settings window, select the graph type on which you want to find the average path length—Directed or UnDirected.

  4. Check the box next to Normalize Centralities in [0, 1] to allow Gephi to normalize the three centrality values between zero and one. The three centralities being referred to here are Betweenness Centrality, Closeness Centrality, and Eccentricity. The concept of betweenness...