返回列表字典中的图表。
列表邻接表示法的词典。
要创建的图表类型。如果是图表实例,则在填充之前清除。
实例
>>> dol = {0: [1]} # single edge (0,1) >>> G = nx.from_dict_of_lists(dol)
或
>>> G = nx.Graph(dol) # use Graph constructor