add_listener | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.