lutzroeder / netron

Visualizer for neural network, deep learning and machine learning models
https://netron.app
MIT License
27.71k stars 2.75k forks source link

Focus of connection lines doesn't go away #1350

Closed beru closed 2 weeks ago

beru commented 2 weeks ago

Steps to Reproduce:

  1. Move mouse cursor over connection lines
  2. Move mouse cursor away from connection lines

Please attach or link model files to reproduce the issue.

Checked with retinanet_resnet50_fpn_v2_Opset18.onnx. It should reproduce with other models.

focus

beru commented 2 weeks ago

The change to source/grapher.js in 24cffc272ea943e1c2e963b3e564e684cfd84517 caused this issue. I proposed the change in #1322 and I confirmed that my code also causes the same issue. Sorry about that.

My guess is when elements (of connection lines) are overlapped, the parent element cannot fully capture pointerleave events.