Source: https://www3.nd.edu/~pkamat/pdf/graphs.pdf