如果您从 R 中使用 igraph,请使用此选项
| gorder {igraph} | R 文档 |
vcount 是此函数的别名。
gorder(graph)
图 |
图 |
顶点数,数值标量。
其他结构查询:[.igraph(), [[.igraph(), adjacent_vertices(), are_adjacent(), ends(), get.edge.ids(), gsize(), head_of(), incident_edges(), incident(), is_directed(), neighbors(), tail_of()
g <- make_ring(10)
gorder(g)
vcount(g)