Resources

Graph Theory Resources

Free tools, archives, and reading that we recommend to our participants, for use during the masterclass and long after it.

Every entry links to an external website, which opens in a new tab.

Draw and compute

CS Academy Graph Editor

A browser page that draws a graph from a typed edge list and lays it out automatically: type the 15 edges of the Petersen graph and drag the vertices until the pentagon and the pentagram appear.

csacademy.com
Graph Online

A graph editor in the browser that runs the standard algorithms on your drawing, among them breadth-first search, Dijkstra's algorithm, Euler tours, and maximum flow, and shows each step.

graphonline.top
Planarity

John Tantalo's puzzle: a tangled planar graph that you untangle by dragging vertices until no two edges cross, with levels of growing size.

planarity.net
D3 Graph Theory

Interactive tutorials by Avinash Pandey in which every graph can be dragged and coloured in the browser, with chapters on vertex colouring and the greedy algorithm and on Euler trails.

d3gt.com
VisuAlgo, network flow

Steven Halim's algorithm visualizer from the National University of Singapore: the max flow page runs Ford and Fulkerson, Edmonds and Karp, and Dinic step by step on a network you draw.

visualgo.net
Sage Cell Server

A single input box that runs SageMath, the free computer algebra system, without any installation; its graph library knows every graph of the units and computes matchings, colourings, and spectra.

sagecell.sagemath.org
NetworkX

The free Python library for graphs used in research and industry: it samples random graphs, finds components and shortest paths, and computes everything in the Advanced units.

networkx.org
Octave Online

A browser version of GNU Octave, the free numerical matrix language: type the adjacency matrix of a cycle, call eig, and read off the eigenvalues of Unit 12.

octave-online.net
nauty and Traces

Brendan McKay and Adolfo Piperno's programs for graph isomorphism and for generating all graphs on n vertices, the standard tool for exhaustive searches in extremal graph theory.

pallini.di.uniroma1.it

Databases and records

House of Graphs

A searchable database of interesting graphs with their invariants (order, girth, chromatic number, planarity, Hamiltonicity), maintained at Ghent University.

houseofgraphs.org
The number of graphs on n vertices

Sequence A000088 of the On-Line Encyclopedia of Integer Sequences: 1, 1, 2, 4, 11, 34, 156, 1044, and so on; A000055 counts trees and A000272 labelled trees.

oeis.org
Small Ramsey Numbers

Stanisław Radziszowski's dynamic survey in the Electronic Journal of Combinatorics, revised since 1994, the reference for every known Ramsey number and bound.

combinatorics.org
Brendan McKay's Ramsey graph data

Complete lists of the Ramsey critical graphs for small parameters, for example every two-coloured complete graph on 8 vertices without a red triangle or a blue K4, as downloadable files.

users.cecs.anu.edu.au
Erdős Problems

Thomas Bloom's database of the problems Erdős posed, with their status, references, and prizes; many of them are in graph theory and Ramsey theory.

erdosproblems.com
The Erdős Number Project

Jerrold Grossman's pages at Oakland University on the collaboration graph of mathematics: the coauthors of Erdős, the distribution of Erdős numbers, and the data behind them.

oakland.edu
Information System on Graph Classes

The ISGCI database of more than a thousand graph classes (planar, bipartite, chordal, perfect, and so on) with their inclusions and what is known about colouring and other problems on each.

graphclasses.org
Open Problem Garden

A collection of open problems in graph theory and combinatorics with their statements, history, and partial results, in a wiki that researchers edit.

openproblemgarden.org

Historical sources

Euler's paper on the bridges of Königsberg

E53 in the Euler Archive at the University of the Pacific: Solutio problematis ad geometriam situs pertinentis, presented in 1735 and cited as 1736, with the original scan.

scholarlycommons.pacific.edu
Sylvester's note in Nature, 1878

Chemistry and Algebra, the note of 7 February 1878 in which J. J. Sylvester used the word graph for a diagram of points and lines.

nature.com
Dijkstra's manuscripts

The E. W. Dijkstra Archive at the University of Texas: his numbered manuscripts, among them EWD1166 (From my life, 1993) with his own account of how the shortest-path algorithm was designed in 1956 for the inauguration of the ARMAC, without pencil or paper.

cs.utexas.edu
Dijkstra's paper of 1959

A note on two problems in connexion with graphs, Numerische Mathematik 1, the three pages in which the shortest-path and the minimum spanning tree algorithms were published.

link.springer.com
Erdős's paper of 1947

Some remarks on the theory of graphs, Bulletin of the AMS 53, the three-page paper that proved the lower bound for Ramsey numbers with a random colouring, from the Rényi Institute's collection of Erdős's papers.

users.renyi.hu
Appel and Haken, 1977

Every planar map is four colorable, Part I, Illinois Journal of Mathematics 21, free to read at Project Euclid: the first part of the proof of the four colour theorem.

projecteuclid.org
MacTutor History of Mathematics

Biographies of every mathematician named in the units, with sources, kept at the University of St Andrews.

mathshistory.st-andrews.ac.uk

Compete and study

International Mathematical Olympiad

The official site, with every problem since 1959, the results, and the regulations.

imo-official.org
European Girls' Mathematical Olympiad

The olympiad for teams of girls, held every year since 2012, with all past problems and solutions.

egmo.org
International Olympiad in Informatics

The official site of the IOI, held every year since 1989, with the tasks, test data, and solutions of every edition.

ioinformatics.org
The Putnam archive

Kiran Kedlaya's archive of the problems and solutions of the Putnam Competition, the olympiad of North American undergraduates, since 1985.

kskedlaya.org
International Mathematics Competition for University Students

The university olympiad held every summer since 1994, with past problems and solutions.

imc-math.org.uk
CSES Problem Set

Antti Laaksonen's collection of competitive programming problems with an online judge; its graph algorithms section is the standard training ground for the IOI.

cses.fi
Competitive Programmer's Handbook

Antti Laaksonen's free book on the algorithms and data structures of programming contests, with chapters on graph traversal, shortest paths, spanning trees, and flows.

cses.fi
USACO Guide

A free, structured curriculum for competitive programming from bronze to platinum, with graph algorithms explained and problems to practise on.

usaco.guide
oj.uz

An online judge that hosts the tasks of past IOIs and of many national and regional informatics olympiads, so that a task can be solved and tested as in the contest.

oj.uz
Image credits

Photographs on this website are cropped and, where text sits on them, darkened. Bird's-eye view of Königsberg after Joachim Bering, 1613: Joachim Bering (Public domain). Kant Island and the cathedral in Kaliningrad at night: Vasilii Martynov (CC BY-SA 4.0). Plan of Paris with the Métropolitain, around 1900: L. Wuhrer (Public domain). London Underground map of 1908: Unknown author (Public domain). Figure 1 of Euler's paper on the bridges of Königsberg, 1736: Leonhard Euler (Public domain). Partial map of the internet, the Opte Project, 2005: Matt Britt (CC BY 2.5). World passenger air routes: Josullivan.59 (CC BY 3.0). Leonhard Euler, portrait by Jakob Emanuel Handmann, 1753: Jakob Emanuel Handmann (Public domain). Rome on the Tabula Peutingeriana, Konrad Miller's facsimile: Konrad Miller (Public domain). The Honey Bridge in Kaliningrad: Kemal Kozbaev (CC BY-SA 4.0). Mathematics on a blackboard: David Malone (CC BY 4.0). Mathematics lecture at the Helsinki University of Technology: Tungsten (Public domain). Kant Island and the cathedral in Kaliningrad by day: Gumerov Ildar (Public domain). Unit photographs are credited in the units. University wordmarks are trademarks of their owners and are shown for identification only.