dg＝nx.digraph()