Use this if you are using igraph from R
without_attr {igraph} | R Documentation |
Construtor modifier to remove all attributes from a graph
without_attr()
Other constructor modifiers:
simplified()
,
with_edge_()
,
with_graph_()
,
with_vertex_()
,
without_loops()
,
without_multiples()
g1 <- make_ring(10)
g1
g2 <- make_(ring(10), without_attr())
g2