Skip to contents

The easiest way to use both modification server and interaction server. mod_visNet_server links both modification and interaction UI and by doing so make it easy

Usage

mod_visNet_server(
  id,
  graph_rct,
  debug = F,
  visNet_options = NULL,
  layout = NULL,
  NodeAttrTooltip = F,
  EdgeAttrTooltip = F
)

Arguments

id

Internal parameters for shiny.

graph_rct

reactive expression of igraph

debug

this flag will create a text output for tracking change.

visNet_options

list of option passed to `visSetOptions` this could also be reactive

layout

igraph layout to put in `visNetwork::visIgraphLayout` could be static or reactive.

NodeAttrTooltip, EdgeAttrTooltip

when these two flag are set to ture attributes will be automatically parsed into tooltips, following formula 'attrName: attr'. There is no good parsing for time series type.

Value

reactive list

Details

list of `Current`, `Main` `click_node` and `click_edge` `Main` for graph that has been committed editing; `Current` for graph on display; Two additional `click_node` and `click_edge` let you track edges and node currently clicked