How to connect the main particle and the ribbon together?

image
I have a visual effect graph like this, and want it to move close to the particle when moving.