make_star | R Documentation |
star()
creates a star graph, in this every single vertex is
connected to the center vertex and nobody else.
make_star(n, mode = c("in", "out", "mutual", "undirected"), center = 1)
star(...)
n |
Number of vertices. |
mode |
It defines the direction of the
edges, |
center |
ID of the center vertex. |
... |
Passed to |
An igraph graph.
Other deterministic constructors:
graph_from_atlas()
,
graph_from_edgelist()
,
graph_from_literal()
,
make_()
,
make_chordal_ring()
,
make_empty_graph()
,
make_full_citation_graph()
,
make_full_graph()
,
make_graph()
,
make_lattice()
,
make_ring()
,
make_tree()
make_star(10, mode = "out")
make_star(5, mode = "undirected")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.