Zitat von Saeed Rahmani <[email protected]>:

Hi All,
I need largest connected component in graph, I use of "components" function but this result not is graph, I need a result in graph object of igraph.!

In Python you would do:

g = igraph.Graph.Erdos_Renyi(300, m=600)
cl = g.clusters()
lcc = cl.giant()

Thats it.

Kind regards

Jan


_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to