How can I dynamically change the position and the size of direction arrows on a directed d3.js force layout?
I am currently implementing arrows in my force layout as is done in this example ( http://bl.ocks.org/mbostock/1153292 ) and that works perfectly. However, one will quickly realize that the location and size of the arrows are hard-coded here since the nodes never change size. I have a graph were I dynamically change node sizes, and as such I would like the arrows to update accordingly since otherwise they are covered by the node or cover the node or are just not attached to the node. There is only one post I have found ( linking nodes of variable radius with arrows ) that talks about this