R package, using vis.js library for network visualization
Clone or download
Benoit Thieurmel
Benoit Thieurmel fix
Latest commit 2a30e3f Oct 24, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R #275 add sort argument to selectedBy Oct 12, 2018
inst fix Oct 24, 2018
man #275 add sort argument to selectedBy Oct 12, 2018
vignettes some documentation clean / update Jul 30, 2017
DESCRIPTION #263 Jul 31, 2018
LICENSE to 1.0.0 Apr 29, 2016
NAMESPACE some clean and update Jun 13, 2018
NEWS Fix passing icon using visGroup and proxy Oct 24, 2018
README.md fix CRAN URL in canonical form Jun 14, 2018

README.md

CRAN Status Badge CRAN Downloads Badge

visNetwork

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

Online documentation

http://datastorm-open.github.io/visNetwork

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

News

2.0.4 available on CRAN

  • Update to fontAwesome 4.7.0

  • Fix node's id bug on collapse

  • Add main argument to selectedBy and nodesIdSelection

  • Add sparkline graphics in visTree

  • New visHclust for visualize Hierarchical cluster analysis

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

  • Add zoom to visLegend

  • to vis.js 4.20.1

  • Add input$network_initialized

  • Add background to visNetwork

  • Fix visTreeEditor bug using rpart object

  • visTreeEditor : add complexity parameters

  • Fix layout control in visIgraph & visIgraphLayout

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