Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translating node group inside of the svg causes huge performance hit in Chrome #200

Open
JackWilb opened this issue Feb 23, 2021 · 1 comment
Assignees

Comments

@JackWilb
Copy link
Member

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.

@JackWilb JackWilb self-assigned this Feb 23, 2021
@waxlamp
Copy link
Contributor

waxlamp commented Feb 23, 2021

Tagging @AlmightyYakob, in case you have any thoughts on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants