是否可以在networkx中向图形对象添加无方向和有向边? [英]Is it possible to add undirected and directed edges to a graph object in networkx?