R/make.R
with_graph_.Rd
Constructor modifier to add graph attributes
with_graph_(...)
The attributes to add. They must be named.
Constructor modifiers (and related functions) make_(), sample_(), simplified(), with_edge_(), with_vertex_(), without_attr(), without_loops(), without_multiples()
make_()
sample_()
simplified()
with_edge_()
with_vertex_()
without_attr()
without_loops()
without_multiples()
make_(ring(10), with_graph_(name = "10-ring")) #> IGRAPH 71f6b6e U--- 10 10 -- 10-ring #> + attr: name (g/c), mutual (g/l), circular (g/l) #> + edges from 71f6b6e: #> [1] 1-- 2 2-- 3 3-- 4 4-- 5 5-- 6 6-- 7 7-- 8 8-- 9 9--10 1--10