Use this if you are using igraph from R
The new graph will contain the input graph the given number of times, as unconnected components.
## S3 method for class 'igraph' rep(x, n, mark = TRUE, ...) ## S3 method for class 'igraph' x * n
x |
The input graph. |
n |
Number of times to replicate it. |
mark |
Whether to mark the vertices with a |
... |
Additional arguments to satisfy S3 requirements, currently ignored. |
rings <- make_ring(5) * 5