Tooltip in Cytoscape

Hello everybody!

I have been making an experimental app for network analysis using Cytoscape but I can’t manage to get the tooltip to work.
I have implemented the callback using mouseoverEdgeData (and mouseoverNodeData) but it’s not as responsive as I would like it to be and the plain text it’s not in line with the overall UI of my app.
Is there anything else I could try beside styling the text in other ways?