Add a "listener" to report data from a 'sigmaNet' object in 'Shiny' back to the R session.
1 | addListener(sigmaObj, listener)
|
sigmaObj |
A 'sigmaNet' object - created using the 'sigmaFromIgraph' function |
listener |
Either "clickNode" to listen to node clicks or "hoverNode" to listen to node hover |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.