Just starting with igraph with Python interface.
I want to find the strongly connected components of a directed graph.
I tried:
import igraph
g = igraph.Graph.Read_Edgelist("list.txt")
print g.summary()
9 nodes, 11 edges, directed
Number of components: 5
Diameter: 5
Density: 0.1528
Reciprocity: 0.0000
Average path length: 2.4524
print g.clusters("strong")
<igraph.clustering.VertexClustering object at 0x8defc8c>
Now, how do I acces the members of this object: eg, size of components,
count of components etc?
-ishwar
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help