掉期#

交换图形中的边。

double_edge_swap(G[, nswap, max_tries, seed])

交换图中的两条边,同时保持节点角度不变。

connected_double_edge_swap(G[, nswap, ...])

尝试图形中指定数量的双边交换 G .