erlebach / G6_hover_MWE

A minimal working and self-contained example of edge hover with Antv/G6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a self-contained example that demonstrates that hovering on edges does not reset the edge style color to its default values. Hover does work correctly on nodes, although the update times are slow.

To replicate, download the files, start a server, I use:

http-server

from within the folder that contains index.html and index.js, the only two files reqired.

Then type localhost:8080 in a browser. This will load up index.html. Hover over the nodes and edges. Nodes turn red and return to their default color. However, Edges change color on hover, but do not return to their default state. Is there a bug? How do we fix this?

About

A minimal working and self-contained example of edge hover with Antv/G6


Languages

Language:JavaScript 82.6%Language:HTML 17.4%