构造函数修饰符,用于从图中删除所有属性
参见
构造函数修饰符(和相关函数)make_()
, sample_()
, simplified()
, with_edge_()
, with_graph_()
, with_vertex_()
, without_loops()
, without_multiples()
示例
g1 <- make_ring(10)
g1
#> IGRAPH d6d63d3 U--- 10 10 -- Ring graph
#> + attr: name (g/c), mutual (g/l), circular (g/l)
#> + edges from d6d63d3:
#> [1] 1-- 2 2-- 3 3-- 4 4-- 5 5-- 6 6-- 7 7-- 8 8-- 9 9--10 1--10
g2 <- make_(ring(10), without_attr())
g2
#> IGRAPH 82ba8a7 U--- 10 10 --
#> + edges from 82ba8a7:
#> [1] 1-- 2 2-- 3 3-- 4 4-- 5 5-- 6 6-- 7 7-- 8 8-- 9 9--10 1--10