Zooming to a clicked node on a D3 Force Directed Graph
问题 I am trying to apply the van Wijk Smooth Zooming example to a D3 force-directed graph I am working that already has the drag+zoom functioning on it. However, I don't know how to get my current position in order to make that the starting point of the transform. The I have the same issue with trying to use a normal transform. I also tried looking at the click-to-zoom-transform but I wasn't sure how to apply that to a force-directed graph. There are a couple things I want to apply it to,