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

Working with multilevel graphs


So far, whatever graphs and networks we have seen were all single-level networks. This means that the relationships between various nodes aren't defined to be present at multiple levels. In this recipe, we will learn about multilevel graphs and what features Gephi possesses to manipulate and visualize these graphs. We will begin with the single-level Les Misérables graph available for use in Gephi and then modify it to a multilevel graph.

How to do it…

To transform the single level Les Misérables graph to a multilevel graph, follow these steps:

  1. Load the Les Misérables graph in Gephi.

  2. Click on the Rectangle Selection button located on the left side panel of the Graph window.

  3. Click on the upper-left blank area of the screen and draw to create a rectangle covering a bunch of graph nodes, as depicted in the following screenshot:

  4. Right-click on one of the nodes in the selected area to open up a menu, as shown in the following screenshot:

  5. Click on Group to group these...