Skip to content

R package, using vis.js library for network visualization

License

Notifications You must be signed in to change notification settings

MBKwiatkowska/visNetwork

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rdoc Rdoc

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.2 dev on github

  • New visNetworkEditor and module visNetworkEditorUI to use visConfigure javascript functionnalities in R and shiny

2.0.0 available on CRAN

  • Add support for edges color/label using highlightNearest/selectedBy

  • New collapse features (?visOptions)

  • New proxy methods : visGetBoundingBox, visGetConnectedEdges, visGetConnectedNodes, visGetEdges, visGetNodes, visGetPositions, visGetScale, visGetSelectedEdges, visGetSelectedNodes, visGetSelection, visGetViewPosition

  • init visTree, to visualize rpart object, visTreeEditor and visTreeModuleServer

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"))

About

R package, using vis.js library for network visualization

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 72.2%
  • JavaScript 17.4%
  • R 6.9%
  • CSS 3.5%