reaviz / reagraph

🕸 WebGL Graph Visualizations for React. Maintained by @goodcodeus.
https://reagraph.dev
Apache License 2.0
660 stars 64 forks source link

labelType "none" still shows label when hovering over node #264

Closed Obaydahm closed 1 month ago

Obaydahm commented 1 month ago

Describe the bug

When hovering over a node the label becomes visible even though labelType is set to none.

The default label is the one that is not rendering correctly because it is of special characters. I want to disable the default label completely and handle it myself.

Steps to Reproduce the Bug or Issue

  1. Set labelType to none
  2. Hover over a node

Expected behavior

As a user, when I set labelType to none, and I hover node, I expect the default label to NOT be shown.

Screenshots or Videos

image

Platform

Your Example Website or App

No response

Additional context

No response

dtsuper3 commented 1 month ago

https://github.com/reaviz/reagraph/pull/265

https://github.com/user-attachments/assets/eb7157d2-21dc-4f1e-a8ab-0138fa842eb6