2 Apr
2014
2 Apr
'14
2:32 a.m.
Hello, Here is my digraph in .dot format: digraph G { 0; 1; 2; 3; 4; 5; 6; 7; 8; 9; 0->3 ; 0->2 ; 1->4 ; 1->8 ; 2->5 ; 3->7 ; 3->8 ; 4->8 ; 5->6 ; 6->2 ; 7->9 ; 8->0 ; 9->7 ; } to load it, just do: from graph_tool import load_graph g = load_graph('filename', fmt='dot') So, How can i get a list of all strongly connected components<http://en.wikipedia.org/wiki/Strongly_connected_component> of a digraph? I tried *label_components, *but i didnt understand how it works... Thanks!