Network Visualization using 'vis.js' Library

Provides an R interface to the 'vis.js' JavaScript charting library. It allows an interactive visualization of networks.


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.1.0 available on CRAN (in a few days...)

  • #361 : fix visHclust with new ggraph version

  • switch to vis-network 9.1.0

  • visTree : fix using invalid R colnames + crash no one X

  • add fontawesome 5.13.0 support

  • #377 : custom manipulation columns

  • #335 : Enable highlightNearest degree for groups

  • visTree : update performance compute boxplot sparkline with large data

  • visTree/TreeModule : fix passing constant variable & character tooltipColumns

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

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("visNetwork")

2.1.4 by Benoit Thieurmel, a year ago


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


Report a bug at https://github.com/datastorm-open/visNetwork/issues


Browse source code at https://github.com/cran/visNetwork


Authors: Almende B.V. and Contributors [aut, cph] (vis.js library in htmlwidgets/lib , https://visjs.org/ , https://github.com/visjs/vis-network) , Benoit Thieurmel [aut, cre] (R interface)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports htmlwidgets, htmltools, jsonlite, magrittr, utils, methods, grDevices, stats

Suggests knitr, rmarkdown, webshot, igraph, rpart, shiny, shinyWidgets, colourpicker, sparkline, ggraph, tidygraph, flashClust


Imported by BlockmodelingGUI, CaPO4Sim, CoDiNA, CurricularAnalytics, DiagrammeR, GALLO, GSSTDA, GroupBN, Holomics, IFC, LDATree, MXM, MicrobTiSDA, NIMAA, RSP, RavenR, Rforestry, SkeletalVis, WhatsR, ahnr, arulesViz, assertHE, bibliometrix, bnviewer, contentanalysis, corrViz, cpge, cranly, delayed, dgpsi, epicontacts, epiflows, frscore, funcMapper, funviewR, genBaRcode, gmgm, godley, iDINGO, kesernetwork, linkspotter, makemyprior, metanetwork, multiDEGGs, nda, netknitr, o2geosocial, outbreaker2, pGRN, pkgdepR, pkgnet, rmake, shinySbm, stCEG, tall, tidycwl, wTO.

Depended on by BED, ReDaMoR, TKCat, massiveGST, microPop, ontoFAST.

Suggested by AssociationExplorer2, CNVScope, HelpersMG, ISMtools, LBDiscover, NetSurvProx, VOSONDash, antaresViz, checked, crandep, data.validator, dataquieR, dbnR, dockViewR, drake, e2tree, edibble, epiparameter, fcaR, funspotr, ideanet, jagstargets, lava, linktree, lisat, makepipe, mcmodule, metasurvey, mlr3pipelines, mlr3torch, mwshiny, pagerankr, pipeflow, plumber, pomdp, ravepipeline, rixpress, scDiffCom, sharp, targets, themescopeR, transitiontrees.


See at CRAN