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

Describing complex network structures using GEXF


Since the beginning of this chapter, we have used the Les Misérables network for most of the recipes. If you noticed, on the Welcome screen, you click on Les Miserables.gexf to load the Les Misérables dataset in Gephi. Ever wondered what that GEXF extension is? In this recipe, you are going to learn what GEXF is and how you can leverage this format to construct really complex networks in a comparatively easy way. So let's get started.

How to do it…

The following steps give you an understanding of what the GEXF format is and how it is used to describe graphical structures:

  1. Run Gephi.

  2. From the Welcome screen, select Les Miserables.gexf to load the Les Misérables network into Gephi.

  3. From the Statistics panel, run Average Degree to generate the degree value for all the vertices.

  4. Go to the File option in the menu bar.

  5. From the drop-down menu, select Export, followed by Graph File. This opens up an Export window, as shown in the following screenshot:

  6. From...