Technology, Graph Theory, Tidygraph, Graph Analytics, Data Visualization.
columns out from the edge data frame. The “distance” column will be used to define the edge width of our Sankey. #install packages if needed!!! #install.packages('networkD3') library(networkD3) create_sankey <- function(grph_object, colors){ nodes <- grph_object %>% activate(nodes) %>% data.frame()