Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.26 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.26 KB

CRAN Status Badge CRAN Downloads Badge

visNetwork

R package, using vis.js library for network visualization. visNetwork is now available on CRAN.

Online documentation

And have a look to multiple R examples, vis.js documentation (visDocumentation).

News

2.0.8 available on CRAN

  • #325 : fix cancel manipulation

  • #327 : fix "layout_with_sugiyama" for simple graphs

  • #334 : Ensure compatibility with the next ggraph release

alt text

Example

install.packages("visNetwork")

# devtools::install_github("datastorm-open/visNetwork") for development version

require(visNetwork)
?visNetwork

# minimal example
nodes <- data.frame(id = 1:3)
edges <- data.frame(from = c(1,2), to = c(1,3))
visNetwork(nodes, edges)

# vignette
vignette("Introduction-to-visNetwork")

# full javascript documentation
visDocumentation()

# shiny example
shiny::runApp(system.file("shiny", package = "visNetwork"))