fbreitwieser / sankeyD3

D3 Sankey Network Graphs from R
67 stars 27 forks source link

Shorten timeout duration on initial tooltip appearance #17

Open dpmccabe opened 6 years ago

dpmccabe commented 6 years ago

There is a very helpful mouseover/hover event on nodes and links that shows the counts of those elements. I'm noticing that there is a 1000-2000ms delay on the first tooltip appearing when I hover over an element. When I move the cursor to an adjacent node/link, the new tooltip appears almost instantly. If I move the cursor off of the plot and back onto an element, there is again a long delay.

I've forked the repo but can't find where these timeout lengths might be set. Could you lead me in the right direction? Thanks!