Nothing
#' @title add IDs to vertices
#' @description
#' Adds the IDs as a vertex property to
#' the vertices in the network. Used when creating
#' sub-networks where the new nodes will retain the IDs from their original
#' network
#' @param network the network to which the IDs are to be added
#' @return network with IDs added
AddIDsToVertices <- function(network) {
numNodes <- igraph::gorder(network)
network <- igraph::set_vertex_attr(network, "ID", 1:numNodes, 1:numNodes)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.