generate_ring | R Documentation |
Generates a ring-structured graph, in which nodes are connected with neighbours within given distance
generate_ring(size, distance)
size |
is the number of nodes |
distance |
defines maximum distance each node has to its farthest direct neighbour |
igraph object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.