Use this if you are using igraph from R
Constructor modifier to drop loop edges
without_loops()
Other constructor modifiers: simplified
,
with_edge_
, with_graph_
,
with_vertex_
, without_attr
,
without_multiples
# An artificial example make_(full_graph(5, loops = TRUE)) make_(full_graph(5, loops = TRUE), without_loops())