18 Jan
2017
18 Jan
'17
9:06 a.m.
On 27.12.2016 17:01, mohit jangid wrote:
Hello,
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?
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]) Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>