可参看:https://www.cnblogs.com/wushaogui/p/9199726.html 1.9版官方文档:https://networkx.github.io/documentation/networkx-1.9.1/ 2.2版官方文档:https://networkx.github.io/documentation/stable/