Renders a visNetwork graph using initial AmyloGraph data. Any changes to the graph should be done through visNetworkProxy() inside an observer in other parts of code.

render_network(edges)

Arguments

edges

[reactivevalues()]
AmyloGraph data with "graph" element, edges to plot.

ag_data_nodes

[data.frame()]
Output of ag_data_nodes(), nodes to plot.