Skip to contents

Conversion between vertex IDs and names

Usage

Vnames(graph)

as_vids(graph, vnames)

as_vnames(graph, vids = V(graph))

Arguments

graph

igraph_ptr object.

vnames

Vertex names stored in Vattr[["name"]].

vids

Vertices of interest.