vertex_ids: Vertex ids of a graph

View source: R/basics.R

vertex_idsR Documentation

Vertex ids of a graph

Description

Vertex ids of a graph

Usage

vertex_ids(graph)

Arguments

graph

The graph.

Value

Character vector of vertex ids.

Examples

G <- graph(list(A = c("B", "C"), B = "C", C = "A"))
vertex_ids(G)

simplegraph documentation built on Aug. 31, 2023, 9:07 a.m.