In htmlwidgets those additional dependencies can be specified via the dependencies argument in the htmlwidgets::createWidget function, or they can be appended to the output of that function.
# create gio object
g <- gio::gio(arcs)
is.null(g$dependencies)
I think it'd be nice to see the first option spelled out in code here as well too as that might address issue #19 ?
I think it'd be nice to see the first option spelled out in code here as well too as that might address issue #19 ?