Changing default mouse hovering behavior in GTK interactive graphs


I've created a graph on graph-tool interactive window. I want to visually
show the traversal of BFS or DFS. In this process, I want to update the
node's and vertex's properties myself.

By default, whenever the mouse is hovered over graphs nodes (drawn on GTK
window) the node appears with blue halo color and all the connected nodes
are highlighted with red edges and borders. I don't want any default
highlighting. How can I turn off this default behavior?

attachment.html (1.53 KB)

The simplest thing to do is to pass a transparent highlight color:

    graph_draw(g, vertex_halo_color=[1,1,1,0], highlight_color=[1,1,1,0])