powered by
Constructor modifier to add edge attributes
with_edge_(...)
The attributes to add. They must be named.
Other constructor modifiers: simplified(), with_graph_(), with_vertex_(), without_attr(), without_loops(), without_multiples()
simplified()
with_graph_()
with_vertex_()
without_attr()
without_loops()
without_multiples()
# NOT RUN { make_(ring(10), with_edge_( color = "red", weight = rep(1:2, 5))) %>% plot() # }
Run the code above in your browser using DataLab