https://medium.com/@monocosmo77/how-minimum-cuts-works-part6-machine-learning-graph-learning-2024-6708c84bb633