theia-ide / sprotty

A next-gen web-based graphics framework
Apache License 2.0
138 stars 23 forks source link

Problem with mouse over highlighting #149

Closed le-cds closed 7 years ago

le-cds commented 7 years ago

There is a problem with node highlighting and node labels. Steps to reproduce:

  1. Go to this website which uses sprotty to show graphs.
  2. In the model selection text field in the top left corner, type co and select hierarchical/ci_router_ComplexRouter.json from the list of suggestions. A diagram will pop up.
  3. At the top is a node labeled Display. Point the mouse at the label. The node is highlighted.
  4. Move the mouse away from the label. The node is still highlighted. Expected behavior: node is not highlighted anymore. (this is the behavior one would get when pointing the mouse at the node itself and then moving the mouse cursor away)