如果您从 R 中使用 igraph,请使用此选项
| head_of {igraph} | R 文档 |
对于无向图,头部和尾部未定义。在这种情况下,head_of 返回与提供的边相邻的顶点,而 tail_of 返回边的另一端。
head_of(graph, es)
图 |
输入图。 |
es |
要查询的边。 |
一个顶点序列,包含边的头部。
其他结构查询:[.igraph(), [[.igraph(), adjacent_vertices(), are_adjacent(), ends(), get.edge.ids(), gorder(), gsize(), incident_edges(), incident(), is_directed(), neighbors(), tail_of()