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

Chapter 2. Basic Graph Manipulations

In this chapter, we will cover the following recipes:

  • Generating a random graph
  • Selecting and highlighting nodes in the graph
  • Coloring and sizing nodes in the graph
  • Adding nodes and edges to the graph
  • Editing node attributes in the graph
  • Finding out the shortest path in the graph
  • Setting the edge and label properties
  • Setting basic properties for graphs, nodes, edges, and labels
  • Changing the background color of the graph
  • Generating a heat map for the graph
  • Showing convex hulls for a graph where a hierarchy exists
  • Showing/hiding various parts of the graph
  • Reverting changes in the graph to the original presets
  • Creating a PNG file directly from the graph window in user-specified sizes

Introduction

This chapter teaches you how ...

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