add_listener {sgraph} | R Documentation |
Add a listener
Description
Add a listener to report data from a 'sgraph' object in 'Shiny' back to the R session.
Usage
add_listener(sigma_obj, listener)
Arguments
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 |
Value
Sgraph object with listener
[Package sgraph version 1.1.0 Index]