Skip to main content

Tutorials

Tutorials are learning-oriented lessons that take you through a series of steps to complete a project. They help you get started with grph and build practical skills.

Getting Started

If you're new to grph, start with the London Underground tutorial. It introduces core concepts using a familiar transport network.

Available Tutorials

Exploring the London Underground

Level: Beginner | Time: 15 minutes

Learn the basics of grph by exploring the London Underground network. You'll learn how to:

  • Load and inspect a graph
  • List and filter nodes
  • Find paths between stations
  • Identify busy interchanges

Routing EasyJet Crew Across Europe

Level: Intermediate | Time: 20 minutes

Plan crew routes across EasyJet's European network. You'll learn how to:

  • Work with directed, weighted graphs
  • Find optimal paths between airports
  • Analyze hub connectivity
  • Identify reachable destinations

Analyzing npm Dependencies

Level: Intermediate | Time: 20 minutes

Explore a React application's dependency tree. You'll learn how to:

  • Trace dependency chains
  • Find what depends on a package
  • Detect deprecated packages
  • Understand transitive dependencies

Finding Influencers in a Social Network

Level: Advanced | Time: 25 minutes

Analyze a social network to find influential users. You'll learn how to:

  • Calculate centrality metrics
  • Find mutual connections
  • Identify communities
  • Analyze follow patterns

Prerequisites

Before starting these tutorials, make sure you have:

  1. grph installed - See Getting Started for installation instructions
  2. Example files downloaded - Clone the repository or download the examples:
git clone https://github.com/jordanterry/grph.git
cd grph/examples

What You'll Learn

By completing these tutorials, you'll understand:

  • How to load and explore GEXF graph files
  • Filtering nodes and edges by attributes
  • Finding paths and analyzing connectivity
  • Calculating centrality and identifying important nodes
  • Exporting data for visualization or further analysis