View source: R/fct_visNetwork_helpers.R
modify_visNetwork | R Documentation |
Edits a visNetwork data based on the given command, consistent with the format of commands passed to the _graphChange observers in visNetwork-shiny
modify_visNetwork(event, graphdata_visNetwork, addNull = FALSE)
event |
The event, with at least a $cmd entry, based on observer format |
graphdata_visNetwork |
A list of data to be passed to visNetwork |
addNull |
Whether to automatically add a null edge to a new node |
the same format as graphdata_visNetwork, but edited according to event
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.