I am trying to contract all the vertices in a Strongly Connected Component of a directed graph.
Since I havwe found no function that contracts a group of vertices, I am attempting to use "Contract" to contract each pair of vertices. This gives wrong results:
Outgoing edges from the pair are inverted (become incoming) and other oddities.
* See attachment.
How can I contract vertices in a directed graph?
Attachment: contractBUG.JPG, URL: ,