there is node’s called cartesian and polar you want to check, and about the line, you have to provide vertices position for it, just feed it with position of your sphere on from pin and position of your box from on to pin, then there is some switch on the node to use from to
i just made my own version using the @antokhio advice and when im going to post it again here i saw your solution, and its way better than mine hahaha because mine still have a problem when i want to translate the box and big sphere, the little spheres and line dont go ( sync ) to the new position, and your solution did that,big thanks to you @tonfilm .
i made a very little modification to your solution by just add the multiply node from size to standard deviation, so when i resize all, line and little sphere stay at the same amount no become less or more.
the next step is i will try to random movement of the little spheres(orb) using cartesian or polar node.