https://medium.com/@monocosmo77/how-minimum-cuts-works-part4-machine-learning-graph-learning-2024-51bc073467c7