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 nodes and edges to the graph

Gephi allows its users to alter graphs on-the-fly by offering capabilities such as adding node(s) or edge(s) to the graph in just one click. This recipe discusses how to carry out these actions.

How to do it…

The following steps illustrate the procedure to add a new node to the graph:

  1. Click on the pencil-shaped button in the toolbar, placed vertically on the upper-left side of the edge of the Graph panel. When a mouse pointer is placed on the icon, it should show a descriptor textbox that reads Node Pencil.
  2. In the upper-right corner of the Graph panel, choose the color that you would like to assign to the node and set the desired size for it.
  3. Now, click on the area of the Graph panel where you want to place the new ...

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