How to change cursor based on callback

Hello everyone, right now I am trying to make it so that when I hover over a cytoscape node, it will change the cursor to the pointer/click indicator.

I was wondering if anyone knows how to do this, I tried seeing if there was anything specific to cytoscapes, but I didn’t have much luck there. So I was wondering if there is a broader solution in dash?

Hello @Conor,

Have you tried using a stylesheet and using :hover for the class of it?

Or even just alter the cursor for the component via css.

Unfortunately, that doesn’t seem to work for the individual nodes of the cystoscape.

Have you tried:

Cytoscape(
    ...
    stylesheet=[
        {
            "selector": "node",
            "style": {
                "cursor": "pointer"
            }
        }
    ],
)