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

Changing the attributes of an existing node in a graph


We often encounter the need to modify the attributes and/or properties of a node or several nodes while working with networks. These attributes/properties include the position of the node in the three-dimensional space, the node label, the node color, and so on. This recipe describes how to accomplish this task.

Getting ready

Open a new or existing project in Gephi. If you have opened a new project, create a new node by following the steps described in the previous recipe. Once the project is loaded, go to the Data Laboratory mode.

How to do it…

The following steps describe how to change the attributes of an existing node in a graph:

  1. Right-click on the node to open up a menu.

  2. Click on Edit Node. This opens up a new Edit tab, as shown in the following screenshot:

  3. Click on the textbox against the property or attribute that you want to change. Enter the new value for the property/attribute and hit Enter. This modifies the required property/attribute...