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 node label sizes in a graph by ranking nodes


One can choose to configure node label sizes rather than their colors. In this recipe, we explain how to achieve this by ranking nodes.

Getting ready

Load the Les Misérables graph in Gephi. Click on the small upward-facing triangle in the bottom-right corner of the Graph panel to expand the bottom panel. In the Labels tab in this panel, check the checkbox next to Node to make the node labels appear on the graph. To make sure that the final visualization is neat and comprehensible, run the Fruchterman Reingold algorithm, followed by the Label Adjust algorithm, on this graph.

How to do it…

To adjust the sizes of node labels by using the node ranking for a graph, follow these steps:

  1. In the Ranking panel, click on the Nodes tab.

  2. Select the button that has its icon as capital letter A and a red diamond situated on top of the letter A. This button is located in the upper-right corner of the Ranking panel. Refer to the following screenshot to identify...