Source: https://pedagogie.ac-toulouse.fr/mathematiques/index.php/system/files/2020-10/Graphes et ordonnancement.pdf