Git Product home page Git Product logo

Comments (3)

smartinsightsfromdata avatar smartinsightsfromdata commented on September 16, 2024

@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.

hnbeck avatar hnbeck commented on September 16, 2024

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.

hnbeck avatar hnbeck commented on September 16, 2024

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)

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.