openalea.phenomenal.segmentation.connect_all_node_with_nearest_neighbors

openalea.phenomenal.segmentation.connect_all_node_with_nearest_neighbors(graph)[source]

Connect all the nodes in the graph together

Parameters:graph (networkx.Graph) –
Returns:graph
Return type:networkx.Graph