pub fn selfloop_edges(graph: &Graph) -> Vec<(String, String)>
Return all self-loop edges in the graph.