can i add some more features like square,rectangle nodes in this visnetwork library


i have attached screenshot i can only add circles can I add rectangle,square?
library(shiny)
library(visNetwork)

ui <- fluidPage(

visNetworkOutput("mygraph")
)

server <- function(input, output) {

output$mygraph <- renderVisNetwork({
  visNetwork(nodes, edges, width = "100%") %>%
    visOptions(manipulation = TRUE)
})

}

shinyApp(ui, server)

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.