EVOLUTION-MANAGER
Edit File: adjacent_vertices.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: Adjacent vertices of multiple vertices in a graph</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 adjacent_vertices {igraph}"><tr><td>adjacent_vertices {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Adjacent vertices of multiple vertices in a graph</h2> <h3>Description</h3> <p>This function is similar to <code><a href="neighbors.html">neighbors</a></code>, but it queries the adjacent vertices for multiple vertices at once. </p> <h3>Usage</h3> <pre> adjacent_vertices(graph, v, mode = c("out", "in", "all", "total")) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>graph</code></td> <td> <p>Input graph.</p> </td></tr> <tr valign="top"><td><code>v</code></td> <td> <p>The vertices to query.</p> </td></tr> <tr valign="top"><td><code>mode</code></td> <td> <p>Whether to query outgoing (‘out’), incoming (‘in’) edges, or both types (‘all’). This is ignored for undirected graphs.</p> </td></tr> </table> <h3>Value</h3> <p>A list of vertex sequences. </p> <h3>See Also</h3> <p>Other structural queries: <code><a href="sub-.igraph.html">[.igraph</a>()</code>, <code><a href="sub-sub-.igraph.html">[[.igraph</a>()</code>, <code><a href="are_adjacent.html">are_adjacent</a>()</code>, <code><a href="ends.html">ends</a>()</code>, <code><a href="get.edge.ids.html">get.edge.ids</a>()</code>, <code><a href="gorder.html">gorder</a>()</code>, <code><a href="gsize.html">gsize</a>()</code>, <code><a href="head_of.html">head_of</a>()</code>, <code><a href="incident_edges.html">incident_edges</a>()</code>, <code><a href="incident.html">incident</a>()</code>, <code><a href="is_directed.html">is_directed</a>()</code>, <code><a href="neighbors.html">neighbors</a>()</code>, <code><a href="tail_of.html">tail_of</a>()</code> </p> <h3>Examples</h3> <pre> g <- make_graph("Zachary") adjacent_vertices(g, c(1, 34)) </pre> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>