Comments (3)
@bthieurmel I comment on this on the basis of my (limited) experience of htmlwidgets developer, as well as as a keen user of this great widget.
A possible example of these types of implementations is rhandsontable (now on CRAN), developed by @rjowen. There there is a function to get the data back from the table whenever there is a table change in the UI side.
This is usually done with a callBack on the javascript side and Shiny.onInputChange.
Typically the entire dataset is sent back (there are ways to avoid this but are quite complex and error prone) to the server, which should be acceptable in most usecases.
from visnetwork.
Thanks for your quick respond !. But forgive me, I don't understand in full extend. But I will look at the example you told me. I think it would be useful in general if data could not only be visualized with the great shiny stuff but also changed such that this changes can be processed further in R.
Update: would it possible to implement in visNetwork something like
...
function(input,output){...
output$myNetwork<-renderVisnetwork({.....visOptions(manipulation = TRUE)})
changedNode <-input$nodes$changed
...}
?
from visnetwork.
I*ve forked now visNetwork in order to implement the feed back of changes in the network done in vis.js back to R. Another point I'll try is to show and edit more data fields of a node, if this would be possible without changes in vis.js
from visnetwork.
Related Issues (20)
- Adding Two Search Bars to Networks
- Specifying Order of Points in visNetwork
- Can't change figure size in R markdown HOT 1
- Network background image
- arrows.to.type Documentation HOT 1
- Node labels cause extreme node sizes, and can't use ellipsis on node labels HOT 1
- Default colors listed in visNodes() documentation still incorrect
- Edge Labels in VisNetwork?
- Display information of the nodes when an edge is selected HOT 1
- Highlight Edges with Color Column HOT 1
- Access network instance from script
- HOWTO receive event when node is selected HOT 1
- Is it possible to rotate FontAwesome icons with visNetwork?
- Does anyone know how to save a drag and drop graph in Rshiny after drawing a flowchart with visNetwork
- `visHclust()` throws `Error in match.names(clabs, names(xi)) : names do not match previous names` when using reference manual code
- Blank visNetwork in RStudio HOT 1
- When node is selected, only label highlighted edges and only display direct edges
- problems with color of the border of nodes in visLegend
- Multiple SelectedBy within one visNetwork html page
- Color problems in nodes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from visnetwork.