I am trying to create a clickable graph image in python. First I called Graphviz, then I found networkx http://networkx.lanl.gov .
I want my program to get information about which node is displayed at the coordinate (x, y), where the user clicked on the graph. I think I could work with a pyplot window that opens and displays a graph using the coordinates (x, y) with a mouse click, but I need some kind of image map to find out which node was rendered at these coordinates!
Can you tell if / how can this be done?
source share