Black Lives Matter. Please consider donating to Black Girls Code today.

Customised tooltip in Plotly Sankey

Hello,
I am trying to make a customised hover tooltip for my Sankey. I have already set the hoverinfo: ‘none’, so that Plotly only triggers the hover event, but doesnt show the tooltip.

But from the plotly_hover event, the data I am getting, I am not able to find the positioning coordinate in the Points object. I have my tooltip svg ready and right now on hovering over the different Sankey links, I am showing the tooltip at one fixed place.

On getting the positional data of the hovered link, I would translate the tooltip to that coordinate. Can you please help me with this?

Thanks in advance.

I have followed these 2 threads, but did not find the useful information: