Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to drag and drop objects in analyst view #250

Open
hazelshapiro opened this issue Jan 16, 2024 · 1 comment
Open

Add ability to drag and drop objects in analyst view #250

hazelshapiro opened this issue Jan 16, 2024 · 1 comment

Comments

@hazelshapiro
Copy link
Collaborator

See this tool, which has open source code: http://sankey-diagram-generator.acquireprocure.com/). What you do is:

  1. navigate here
  2. choose Load -> your own data from the menu (leftmost option)
  3. paste the JSON code in and hit enter

Talk with @MattF-NSIDC about how difficult this would be to implement.

@mfisher87
Copy link
Member

I've definitely looked at this before, but I don't remember everything we found. I searched for discussion in Slack and GitHub, but found nothing! D'oh!

They seem to have modified some other software (I believe in food.js), but it's not clear which parts are theirs and which aren't since the source isn't under version control.

In addition to the javascript we'd need to write to implement dragging and dropping, we'd also need to implement a mechanism to save the x,y positions in the database. This feature seems pretty expensive to me at a glance. Let's remember to revisit it later when we're fully funded, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants