Using external tooltip JS library with networkD3 and Shiny
问题 I'm trying to display the value variables of nodes and links in a networkD3 forceNetwork diagram as tooltips. To do this, I am using Shiny with htmlwidgets and the external JS library Tippy. Here is what I have so far: library(shiny) library(htmlwidgets) library(networkD3) fn <- forceNetwork( Links = MisLinks, Nodes = MisNodes, Source = "source", Target = "target", Value = "value", NodeID = "name", Group = "group", opacity = input$opacity) tippyJS <- 'tippy(".node")' server <- function(input,