modify_visNetwork: Edits a visNetwork data based on the given command,...

View source: R/fct_visNetwork_helpers.R

modify_visNetworkR Documentation

Edits a visNetwork data based on the given command, consistent with the format of commands passed to the _graphChange observers in visNetwork-shiny

Description

Edits a visNetwork data based on the given command, consistent with the format of commands passed to the _graphChange observers in visNetwork-shiny

Usage

modify_visNetwork(event, graphdata_visNetwork, addNull = FALSE)

Arguments

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

Value

the same format as graphdata_visNetwork, but edited according to event


julianstanley/gfpopgui documentation built on April 16, 2022, 2:58 a.m.