
Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
g <- make_ring(10) %>%
set_edge_attr("weight", value = 1:10) %>%
set_edge_attr("color", value = "red")
g
plot(g, edge.width = E(g)$weight)
# }
Run the code above in your browser using DataLab