How to get the edge list of a strongly connected components in a graph?
问题 I have a weighted directed multigraph with a few cycles. With clusters function in igraph package, I can get the nodes belongs to a strongly connected components. But I need the path/order of the nodes that form a cycle. EDIT after @josilber's response I have a very dense graph, with 30 nodes and around 2000 edges. So graph.get.subisomorphisms.vf2 takes too long to run in my case. I'm not familiar with graph algorithm, but I'm thinking maybe do a DFS to the original or reverse graph and use