I am implementing drill-down functionality in my R Shiny dashboard. There is a function named nearPoints that takes xvar and yvar to create a drill down when we use it for charts that have x and y coordinates. My chart has nodes created using function
graph_from_data_frame from iGraph package. Thus I am looking for a function that enables me to do drill down without having xvar and yvar. I tried checking it online but could not find it. Could you please help me with that?