add_listener {sgraph} | R Documentation |
Add a listener to report data from a 'sgraph' object in 'Shiny' back to the R session.
add_listener(sigma_obj, listener)
sigma_obj |
Sgraph object, created using the sigma_from_igraph function |
listener |
Either "clickNode" to listen to node clicks or "hoverNode" to listen to node hover |
Sgraph object with listener