head_of | R Documentation |
For undirected graphs, head and tail is not defined. In this case
head_of()
returns vertices incident to the supplied edges, and
tail_of()
returns the other end(s) of the edge(s).
head_of(graph, es)
graph |
The input graph. |
es |
The edges to query. |
A vertex sequence with the head(s) of the edge(s).
Other structural queries:
[.igraph()
,
[[.igraph()
,
adjacent_vertices()
,
are_adjacent()
,
ends()
,
get_edge_ids()
,
gorder()
,
gsize()
,
incident()
,
incident_edges()
,
is_directed()
,
neighbors()
,
tail_of()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.