graph.star {igraph} | R Documentation |
Create a star graph, a tree with n vertices and n - 1 leaves
Description
graph.star()
was renamed to make_star()
to create a more
consistent API.
Usage
graph.star(n, mode = c("in", "out", "mutual", "undirected"), center = 1)
Arguments
n |
Number of vertices. |
mode |
It defines the direction of the
edges, |
center |
ID of the center vertex. |
[Package igraph version 2.1.3 Index]