Source: https://book.huihoo.com/pdf/graph-theory-With-applications/pdf/chapter2.pdf