I have a temporal force directed graph based in part on @mbostock’s temporal force directed graph and @bryangingechen’s force update pattern notebook. I’m having trouble with the link update pattern. I can get my links to enter and exit correctly, but on update, all of the links appear to exit and then re-enter. This makes the whole graph flash when there’s a lot of links/nodes, which I worry is an accessibility issue, and seems to slow down the browser quite a lot. The visualization is otherwise shaped correctly with the correct links and nodes entering/exiting, it’s just the flashing on update that’s an issue.
My network is here, about halfway down the page. In a previous version based more on Bostock’s temporal force directed graph, I couldn’t get the nodes to update radius without the whole graph (nodes and links both) appearing to be redrawn every update. My data is shaped similarly to the temporal force directed graph example.