how to connect objects with splines with animation nodes?
Add your objects to a group or a collection. Then get the objects using the Collection Info node or the Objects From Group node. Finally, get their locations using the Object Transforms Input node. We now have the points locations, we use the Find Close Points and Splines From Edges node to create the splines as follows: