Closed ntamas closed 4 years ago
From @harshays on July 13, 2017 1:1
Suppose I have a graph G and I want to add N nodes to it using preferential attachment. Is it possible to use ig.Graph.Barabasi to do this (example: ig.Graph.Barabasi(N, M, initial_graph=G))?
Copied from original issue: igraph/igraph#1013
Yes, but 1) you need to specify N plus the vertex count of the original graph and 2) you need start_from and not initial_graph.
N
start_from
initial_graph
From @harshays on July 13, 2017 1:1
Suppose I have a graph G and I want to add N nodes to it using preferential attachment. Is it possible to use ig.Graph.Barabasi to do this (example: ig.Graph.Barabasi(N, M, initial_graph=G))?
Copied from original issue: igraph/igraph#1013