openalea.phenomenal.segmentation.create_graph

openalea.phenomenal.segmentation.create_graph(voxels_position, voxels_size)[source]

Create a networkx.graph from voxels positions and voxels_size

Parameters:
  • voxels_position (list) – list of 3-tuple
  • voxels_size (int) – Diameter size of voxels
Returns:

graph

Return type:

networkx.Graph