R/graph_construction.R
select_main_component.Rd
Keep only the biggest connected component of a graph
select_main_component(graph)
A tbl_graph object
tbl_graph
A tbl_graph with one component