#' Apply a style to the current network
#'
#' @param style.name (char) name of the style
#' @param base.url cyrest base url for communicating with cytoscape
#' @return server response
#' @export
#' @examples
#' \donttest{
#' applyStyle("myStyle")
#' }
applyStyle<-function(style.name,base.url='http://localhost:1234/v1'){
commandRun(paste0('vizmap apply styles="',style.name,'"'))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.