在python学习min cut&max; flow时会用到的pygraph.classes.digraph