Clickable edges in network graph?

I am drawing a network graph and would like to be able to click on both the nodes (which works nicely) and the edges. I have not found a way to make the edges clickable. Is there a way to do this? I feel like I’m missing something obvious… Thanks!