nodes: [1, 2, 3] edges: [(2, 3)] number of edges: 1. 例2: #-*- coding:utf8-*- import networkx as nx import matplotlib.pyplot as plt G = nx.
確定! 回上一頁