Moving the g that deals with the nodes using :transform="`translate(${node.x}, ${node.y})`"causes a large performance hit in the "calculating styles" section of chrome rendering.
Setting the value to something static or even another static variable on the node fixes the performance issue, but breaks the reactivity of the visualization.
Moving the
g
that deals with the nodes using:transform="`translate(${node.x}, ${node.y})`"
causes a large performance hit in the "calculating styles" section of chrome rendering.Setting the value to something static or even another static variable on the node fixes the performance issue, but breaks the reactivity of the visualization.