R/fct_visNetwork_helpers.R
modify_visNetwork.Rd
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)
The event, with at least a $cmd entry, based on observer format
A list of data to be passed to visNetwork
Whether to automatically add a null edge to a new node
the same format as graphdata_visNetwork, but edited according to event