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

Finding graph density


One another important statistical metric for graphs is density. In this recipe, you will learn what graph density is and how to compute it in Gephi.

How to do it…

The following steps illustrate how to use Gephi to figure out the graph density for a chosen graph:

  1. Load the directed version of the Les Misérables network in Gephi, as described in the How to do it… section of the previous recipe.

  2. In the Statistics panel located on the right-hand side of the Gephi application window, click on the Run button that is placed against Graph Density.

  3. This opens up the Density settings window, as shown in the following screenshot, where you can choose between the directed or the undirected version of the graph to be considered for the computation of graph density:

  4. Click on OK. This opens up the following Graph Density Report window:

How it works…

A complete graph is a graph in which every pair of nodes is connected via a direct edge. The density of a graph is a measure of how close the...