Using nodesIdSelection option, you can view current node selection in shiny
with input$networkid_selected
Using highlightNearest option, you can view current highlighted nodes in shiny
with input$networkid_highlight_label_id & input$networkid_highlight_color_id