Extract the largest connected component of a network

extract_largest_cc(gr, mode = "weak")

Arguments

gr

The network as an igraph object

mode

Type of connected component ("weak"|"strong")

Value

An igraph object