Skip to contents

List names of edge attributes

Usage

edge_attr_names(graph)

Arguments

graph

The graph.

Value

Character vector, the names of the edge attributes.

Examples

g <- make_ring(10) %>%
  set_edge_attr("label", value = letters[1:10])
edge_attr_names(g)
#> [1] "label"
plot(g)