EVOLUTION-MANAGER
Edit File: make_star.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Create a star graph, a tree with n vertices and n - 1 leaves</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for make_star {igraph}"><tr><td>make_star {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Create a star graph, a tree with n vertices and n - 1 leaves</h2> <h3>Description</h3> <p><code>star</code> creates a star graph, in this every single vertex is connected to the center vertex and nobody else. </p> <h3>Usage</h3> <pre> make_star(n, mode = c("in", "out", "mutual", "undirected"), center = 1) star(...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>n</code></td> <td> <p>Number of vertices.</p> </td></tr> <tr valign="top"><td><code>mode</code></td> <td> <p>It defines the direction of the edges, <code>in</code>: the edges point <em>to</em> the center, <code>out</code>: the edges point <em>from</em> the center, <code>mutual</code>: a directed star is created with mutual edges, <code>undirected</code>: the edges are undirected.</p> </td></tr> <tr valign="top"><td><code>center</code></td> <td> <p>ID of the center vertex.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Passed to <code>make_star</code>.</p> </td></tr> </table> <h3>Value</h3> <p>An igraph graph. </p> <h3>See Also</h3> <p>Other deterministic constructors: <code><a href="graph_from_atlas.html">graph_from_atlas</a>()</code>, <code><a href="graph_from_edgelist.html">graph_from_edgelist</a>()</code>, <code><a href="graph_from_literal.html">graph_from_literal</a>()</code>, <code><a href="make_chordal_ring.html">make_chordal_ring</a>()</code>, <code><a href="make_empty_graph.html">make_empty_graph</a>()</code>, <code><a href="make_full_citation_graph.html">make_full_citation_graph</a>()</code>, <code><a href="make_full_graph.html">make_full_graph</a>()</code>, <code><a href="make_graph.html">make_graph</a>()</code>, <code><a href="make_lattice.html">make_lattice</a>()</code>, <code><a href="make_ring.html">make_ring</a>()</code>, <code><a href="make_tree.html">make_tree</a>()</code> </p> <h3>Examples</h3> <pre> make_star(10, mode = "out") make_star(5, mode = "undirected") </pre> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>