graph_tool.generation.remove_self_loops#

graph_tool.generation.remove_self_loops(g)[source]#

Remove all self-loops edges from the graph.