Use this if you are using igraph from R
igraph re-exports the %>%
operator of magrittr, because
we find it very useful. Please see the documentation in the
magrittr
package.
lhs |
Left hand side of the pipe. |
rhs |
Right hand side of the pipe. |
Result of applying the right hand side to the result of the left hand side.
make_ring(10) %>% add_edges(c(1,6)) %>% plot()