Tutorials#

Tutorials are step-by-step projects. Each one has a clear goal, runs from top to bottom, and ends with suggestions for what to try next. Every code block on these pages is executed when the site is built, so what you see is what you get.

Foundations#

Your first network

Build a small graph, then load the University of Calgary campus; inspect, measure, draw and save.

Your first network
Campus routing

Shortest paths by length, indoor-only routes, alternative routes and the buildings that act as chokepoints.

Campus routing
Pipelines as DAGs

Model a machine-learning pipeline, find its critical path and schedule it on workers.

Pipelines as DAGs
Publication figures

Choose a layout, encodings and theme, then export a figure ready for a paper.

Publication figures

Dynamics and data#

Epidemics on a small-world network

SIR and SEIR outbreaks, discrete versus exact simulation, ensembles and animation.

Epidemics on a small-world network
Communities in Les Misérables

Compare community detection methods on Les Misérables and draw the result.

Communities in Les Misérables
Influence and cascades

Estimate how far information spreads and choose the most influential seed nodes.

Influence and cascades
Moving data in and out

Move data between AryaGraph, pandas, networkx, numpy, SciPy and common file formats.

Moving data in and out

Tip

Found a mistake, or have an idea for a new example? Please open an issue on github.com/ruzbahani/AryaGraph.