d3 / d3-force

Force-directed graph layout using velocity Verlet integration.
https://d3js.org/d3-force
ISC License
1.81k stars 376 forks source link

use in nuxt js #202

Closed mahdiElliot closed 3 years ago

mahdiElliot commented 3 years ago

hi I'm trying it on a nuxt js app. The problem is when I change the route. When I navigate to another page and then navigate back to the previous (which contains the graph), It doesn't create the network graph organized and correct, the nodes spread on the page separate from their links. But when the page is reloaded it 's created correctly.