visNetwork v2.0.9

0

Monthly downloads

0th

Percentile

Network Visualization using 'vis.js' Library

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

Readme

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

Functions in visNetwork

Name Description
visClusteringOutliers Network visualization clustering options - outliers
visFit Network visualization fit method
visExport Network export configuration
visGetConnectedEdges Method getConnectedEdges, with shiny only.
visEdges Network visualization edges options
visFocus Network visualization focus method
visGetConnectedNodes Method getConnectedNodes, with shiny only.
visGetBoundingBox Method getBoundingBox, with shiny only.
visEvents Network visualization events
visGetNodes Function to get nodes data, with shiny only.
visGetEdges Function to get edges data, with shiny only.
visGetPositions Network visualization getPositions method
visGetSelection Function to get selected edges & nodes, with shiny only.
visGroups Network visualization groups options
visIgraphLayout Use a igraph layout for compute coordinates & fast rendering
visHierarchicalLayout Network visualization Hierarchical layout options
visGetViewPosition Function to get current view position, with shiny only.
visLegend Add a legend on a visNetwork object
visMoveNode Network visualization moveNode method
visLayout Network visualization layout options
visHclust Visualize Hierarchical cluster analysis.
visInteraction Network visualization interaction
visNetwork-shiny Shiny bindings for visNetwork
visGetScale Function to get current scale of network, with shiny only.
visNetwork-treeModule Module shiny for visualize and customize a rpart tree
visNearestNodes Function to nearest nodes of a target node, with shiny only.
visNetwork-collapse Network visualization collapse / uncollapsed method
visPhysics Network visualization Physics options
visOptions Network visualization general options
visNetwork Network visualization
visNetworkEditor-module Module shiny for visualize and customize and get back a visNetwork object. Using the javascript interface visConfigure.
visRemoveEdges Function to remove edges from network, with shiny only.
visRedraw Network visualization redraw method
visGetSelectedNodes Function to get selected nodes, with shiny only.
visNetwork-igraph Render a visNetwork object from an igraph object
visGetSelectedEdges Function to get selected edges, with shiny only.
%>% Export magrittr function
visTree Visualize Recursive Partitioning and Regression Trees (rpart object)
visStopSimulation Network visualization stopSimulation method
visStorePositions Method storePositions, with shiny only.
visTreeEditor Run and edit a visTree, and get back in R
visSetData Network visualization setData method
visSelectEdges Function to select edge(s) from network, with shiny only.
visRemoveNodes Function to remove nodes from network, with shiny only.
visUpdateNodes Function to update the information of nodes, with shiny only.
visSelectNodes Function to select node(s) from network, with shiny only.
visSetOptions Network visualization full options setter
visUnselectAll Network visualization unselectAll method
visStabilize Network visualization stabilize method
visUpdateEdges Function to update the information of edges, with shiny only.
visStartSimulation Network visualization startSimulation method
visSave Save a a visNetwork object to an HTML file
visNetworkEditor Visualize, customize and get back a visNetwork object. Need shiny package
visSetSelection Function to select edge(s) / node(s) from network, with shiny only.
visNodes Network visualization nodes options
visSetTitle Set title, subtitle, and footer using visNetworkProxy
visClusteringByHubsize Network visualization clustering options - by hubsize
visClusteringByGroup Network visualization clustering options - by group
addFontAwesome Use fontAwesome icons in visNetwork graph
visConfigure Network visualization configure options
visClusteringByColor Network visualization clustering options - by color
visClusteringByConnection Network visualization clustering options - by node id
addExport Add libraries dependencies used in export visExport
addIonicons Use Ionicons in visNetwork graph
visDocumentation View full documentation of vis.js on network
No Results!

Vignettes of visNetwork

Name
Introduction-to-visNetwork.Rmd
No Results!

Last month downloads

Details

BugReports https://github.com/datastorm-open/visNetwork/issues
URL http://datastorm-open.github.io/visNetwork/
License MIT + file LICENSE
VignetteBuilder knitr, rmarkdown
RoxygenNote 7.0.0
NeedsCompilation no
Packaged 2019-12-06 08:12:07 UTC; Datastorm
Repository CRAN
Date/Publication 2019-12-06 08:50:02 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/visNetwork)](http://www.rdocumentation.org/packages/visNetwork)