GithubHelp home page GithubHelp logo

rlugojr / visnetwork Goto Github PK

View Code? Open in Web Editor NEW

This project forked from datastorm-open/visnetwork

0.0 2.0 0.0 4.72 MB

R package, using vis.js library for network visualization

License: Other

R 14.71% CSS 11.86% JavaScript 56.79% HTML 16.64%

visnetwork's Introduction

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

1.0.4 dev version

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

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

1.0.3 available on CRAN

  • New hideColor argument to control hidden nodes & edges using highlightNearest/selectedBy

  • Add pdf export

  • New visNearestNodes function

  • Store positions of nodes before rendering with visGetNodes

  • Add delay on tooltip popup (so you can click on a link...!)

1.0.2 available on CRAN

  • Update network in shiny using visNetworkProxy (lot of functionalities, ?visNetworkProxy)

  • Enabled highlightNearest & selectedBy with icons and / or image

  • Enabled hover forhighlightNearest and fix/improve performance with high degree

  • multiple groups selection / title to network & legend / ionicons icons possibilities. See ?addIonicons

  • new function visSave to save as html and visExport to save as png/jpeg (shiny and browser only)

  • Better performance with visIgraphLayout

  • have a look to visIgraph to plot visNetwork object from igraph object (Little bit experimental)

  • Add custom legend with visLegend

Example

install.packages("visNetwork")

# devtools::install_github("datastorm-open/visNetwork") for developpement 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"))

visnetwork's People

Contributors

bthieurmel avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.