-
Notifications
You must be signed in to change notification settings - Fork 126
Description
Hello! I'll put the question and feature request up here, and then add more information below.
Feature requests
(1) Can edges be encoded so that they have a pop-up dialog when you edit them, just like nodes? And then, can I make it so that users can encode custom edge information?
If that feature would be broadly applicable to other users, then I can work on implementing it.
(2) Can there be interactivity between a visNetwork graph and a plotly graph? Similar to issue 229 but that seems to have stalled a couple years ago. Is there a solution besides crosstalk?
User-specific question
Based on the information below, do you think visNetwork is the best tool for me to use? For example, it seems like plotly can technically make directed graphs, it just isn't nearly as intuitive. Is there another alternative, and/or is my potential usecase for visNetwork reasonable? Thanks!
Specific use case information
I'm working on a project this summer (with the R Project and Google Summer of Code) that involves making a Shiny app for the gfpop package.
I would like to include an editable directed graph in that app. I think visNetwork seems like a great tool for that purpose since it (1) provides the manipulate
option, which makes it really easy to add/edit nodes, and (2) it's easy to implement directed edges and edges that connect a node back to itself.
There are two barriers that keep visNetwork from being perfectly-suited to my purposes.
The first is the most important, which is that I want to store a lot of information in the edges, and want users to be able to edit that information.
So, for example, a typical gfpop
graph has edges that include all of this information:
So, each edge needs to encode: (1) type, (2) parameter, (3) penalty, (3) K, (4) a, (5) min, and (6) max, and users will want to edit that information.