O'Reilly logo

Gephi Cookbook by Devangana Khokhar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding and deleting nodes in a graph

Manipulating the nodes in a graph is one of the fundamental operations of a graph. One such operation is adding a new node to the existing graph. In this recipe, we will learn how to carry out this operation in Gephi.

Getting ready

In order to understand how to add a new node to the existing graph, we will start with an empty new project and then progressively add nodes to the new network. So, start Gephi and load a new project from the welcome screen.

How to do it…

To add a new node to a new or an existing network, follow these steps:

  1. Go to the Data Laboratory mode in Gephi.
  2. Click on the Add Node button in the top panel. This opens the Add node dialog window, as shown in the following screenshot:
  3. In the Label textbox, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required