📅  最后修改于: 2022-03-11 14:45:38.940000             🧑  作者: Mango
import networkx as nx
nx.barabasi_albert_graph(n, m, seed=None)
# n : Number of nodes
# m : Number of edges to attach from a new node to existing nodes
# seed : Seed for random number generator (default=None).