with_edge_

0th

Percentile

Constructor modifier to add edge attributes

Constructor modifier to add edge attributes

Usage
with_edge_(...)
Arguments
...

The attributes to add. They must be named.

See Also

Other constructor modifiers: simplified; with_graph_; with_vertex_; without_attr; without_loops; without_multiples

Aliases
  • with_edge_
Examples
# NOT RUN {
make_(ring(10),
  with_edge_(
    color = "red",
    weight = rep(1:2, 5))) %>%
  plot()
# }
Documentation reproduced from package igraph, version 1.0.1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.