You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe you should be using the ida_graph.mutable_graph_t class which has the mutable_graph_t.set_edge method. This takes an ida_graph.edge_info_t which lets you set the edge color. Once you have the graph, you'll need to attach the graph to a viewer using ida_graph.set_viewer_graph.
how to change and set color for edge in python class GraphViewer ?
SetNodeInfo(self, node_index, node_info, flags) ?
p = ida_graph.node_info_t()
p.frame_color = self.random_hex_color()
p.bg_color = p.frame_color^0xffffff
self.SetNodeInfo(nid, p, ida_graph.NIF_FRAME_COLOR)
but edge is not node
The text was updated successfully, but these errors were encountered: