Define a Graph in GH-Python (networkx module)

python
unhandled

(STUDENT_F) #1

Hi guys,

I have a list of point objects in gh-python. Let’s say the list is called pointgrid3D = […] I want to use every single item in that list for G. G is in the given example displayed as a grid with the dimension [3,3,3]. I want to replace this grid with all objects inside pointgrid3D. Maybe someone can help me to define the graph correctly.

Because I am using an older version of networkx here are some more information, i do not understand.
https://networkx.github.io/documentation/networkx-1.5/tutorial/tutorial.html