no_grouping_nodes = function (connections = NULL) {
matrix_structure = as.data.frame( unique(c(connections$row, connections$col)) );
colnames(matrix_structure) = "id";
return(matrix_structure %>% dplyr::mutate(nodes = id))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.