A pretty contrived example to try to help someone to show how to drag circles and have a line move with it. You can drag the light blue circle around and the line connecting it to the red point moves with it.
https://api.tiles.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.js