This is an example set up to test the use of the d3.drag component.
The intention is to learn enough about d3.drag to integrate it into a sankey diagram for v4 similar to this example.
The start point was Mikes circle dragging examlpe [here] which I tried to integrate with the object+text drag implimentation here.
Tragically I can't quite work out how to grab the 'g' element and will therefore use this block as an example for a question on Stack Overflow.
EDIT: Spoiler Alert: Solved by Dragon_Slayer. Solution bl.ock here.
https://d3js.org/d3.v4.min.js