Source: https://homepages.warwick.ac.uk/~masgax/Graph-Theory-notes.pdf