vertex_ids {simplegraph}R 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)

[Package simplegraph version 1.0.1 Index]