Particle distances to each other niagara

Hi Im currently trying to recreate a Plexus effect in niagara. How can I measure distances between all particles at all times and use this data to Draw a ribbon between particles If their distances fall into a certain threshold.

I tried to write a custom Niagara Module but cant figure out how to get the particles positions other than the one that currently gets processes!

Would really appreciate If someone has an Idea how to achieve this or point me in the right direction.
​​​