This module let you interact with graph Require visnetwork rendered in shiny to have base id `visNetworkId`
Usage
mod_visNetInteraction_server(
id,
igraph_rct,
e_ignore = c(),
v_ignore = c(),
show_hidden = F,
domain = getDefaultReactiveDomain(),
searchENGINE = networkUtils::search_idx
)
Arguments
- id
id
- igraph_rct
reactive expression for igraph
- e_ignore, v_ignore
a vector of node/edge attributes. This tells the interactive UI to stop parsing specific attribute into searchable UI.
- show_hidden
used in conjunction with `e_ignore` and `v_ignore`. If you have an attribute begain/has with '.' This flag will show it when set to TRUE. This is useful against attributes created by tidygraph (`.tidygraph_e_index`) or when you have to create color attributes for visNetwork (`color.border`)
- domain
session for when nesting module
- searchENGINE
a function for searching node edge index. Must have argument `g` a graph object, `search_in` for edge or node, `search_term`