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

Allow more ways to disable/enable labels for edges #1479

Open
nadeem-clearaccept opened this issue Oct 15, 2024 · 1 comment
Open

Allow more ways to disable/enable labels for edges #1479

nadeem-clearaccept opened this issue Oct 15, 2024 · 1 comment

Comments

@nadeem-clearaccept
Copy link

As of right now, it seems like I can't disable edge label. As of right now, when hovering over a node, the edge label rendering is causing a performance issue (causing a bit of stuttering on the node hover).

Ideally, I would wish to have the edge labels only show up if a node is selected. I tried to remove the labels and add them back on in the edgeReducer, but it seems like even if there is no label, the performance hit is still there if edge label is enabled.

Ideally, by enabling and disabling the edge label at certain points (when there is less nodes on the screen for example), would improve the performance.

@jacomyal
Copy link
Owner

Oh, good catch! I haven't displayed edge labels with graphs that are large enough to cause this kind of performance issues yet. I'll investigate this when I can. Thanks for the report!

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

No branches or pull requests

2 participants