Replicate pattern

Hello everyone I am new to grasshopper and cant really find how to make this pattern on grasshopper, I did this in Houdini but the file is too big when i transfer into rhino. Can you guys please help me on finding a way to connecting points.

I guess you’re looking for proximity2D component.

Perfect thankyou