danielcaldas / react-d3-graph

Interactive and configurable graphs with react and d3 effortlessly
https://danielcaldas.github.io/react-d3-graph/sandbox/
MIT License
819 stars 233 forks source link

Adjust visibility of inactive Link Labels during highlight #519

Open arky opened 2 years ago

arky commented 2 years ago

When a node is highlighted, all the inactive link labels are visible.

https://gs7b7s.csb.app/

To Reproduce Steps to reproduce the behavior:

  1. Open Example testcase https://gs7b7s.csb.app/
  2. Click on a link node
  3. The selected link node is highlighted.
  4. But all the link labels are also visibile

Expected behavior Inactive link label opacity should match inactive nodes and links.

Screenshots image

Link labels (in red font) are visible and unaffected by highlight behavior