Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Gephi Cookbook

You're reading from   Gephi Cookbook Over 90 hands-on recipes to master the art of network analysis and visualization with Gephi

Arrow left icon
Product type Paperback
Published in May 2015
Publisher
ISBN-13 9781783987405
Length 296 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. Getting Started with Gephi 2. Basic Graph Manipulations FREE CHAPTER 3. Using Graph Layout Algorithms 4. Working with Partition and Ranking Algorithms 5. Running Metrics, Filters, and Timelines 6. Working in the Data Laboratory Mode 7. Getting Graphs and Networks Ready for Preview 8. Exploring Dynamic and Multilevel Graphs 9. Getting Real-world Graph Datasets 10. Exploring Some Useful Gephi Plugins Index

Finding out the shortest path in the graph


Finding the shortest path in a graph is one of the problems that is widely encountered in many different situations across many different domains. This is one of the fundamental problems in graph theory. It has applications in domains such as computer networks, inventory optimization, flow networks, and so on. In this recipe, we will learn how to compute and visualize the shortest path in a graph in Gephi.

Getting ready

Load a pre-existing network in which you would like to find the shortest path, such as Les Misérables, or create one.

How to do it…

To compute and visualize the shortest path for a pair of nodes in a network, follow these steps:

  1. Click on the button with an airplane symbol on it in the vertically placed left-hand side toolbar in the Graph panel. When placed over this button, the mouse pointer displays a descriptor textbox that reads Shortest Path.

  2. Now click on the source node in the graph from where the path should start.

  3. Select the target...

You have been reading a chapter from
Gephi Cookbook
Published in: May 2015
Publisher:
ISBN-13: 9781783987405
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime