visNetwork v2.0.3

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

Rdoc Rdoc

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.2 available on CRAN

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

Functions in visNetwork

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

Vignettes of visNetwork

Name
Introduction-to-visNetwork.Rmd
No Results!

Last month downloads

Details

Date 2018-01-09
BugReports https://github.com/datastorm-open/visNetwork/issues
URL http://datastorm-open.github.io/visNetwork/
License MIT + file LICENSE
VignetteBuilder knitr, rmarkdown, webshot
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2018-01-09 14:56:59 UTC; Datastorm
Repository CRAN
Date/Publication 2018-01-09 17:25:29 UTC

Include our badge in your README

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