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

Click one node but another one moves #41

Closed
corganfuzz opened this issue Nov 30, 2017 · 3 comments
Closed

Click one node but another one moves #41

corganfuzz opened this issue Nov 30, 2017 · 3 comments
Labels

Comments

@corganfuzz
Copy link

When I select(clicked) an specific node and try to drag away from the others another node moves.
In this screenshot I try to move node #253 but the one that moves is node #250 (weird)

screen shot 2017-11-30 at 3 03 36 pm

now, the issue doesnt happen If I use 3 or nodes and links, only with a bunch of data.

At first, I thought it was my data but I have tried it with 2 different frameworks such as react-vis-force and react-graph-vis and so far they are working fine.

Here's my data

P.D. is it possible to group nodes and assign a different color to said groups?, thanks

@danielcaldas
Copy link
Owner

Hello, @corganfuzz thanks for the feedback. This is indeed a problem when defined nodes id's are numeric values. There is already a work in progress solution for this, this will certainly be included in the next release of react-d3-graph that I have scheduled for this weekend. Regarding the other question that you mentioned can you please open a separate issue so that it stays properly documented. Thanks 👍

@corganfuzz
Copy link
Author

Awesome. Yeah numeric data is coming from a GraphDB database which has number values for ids, source, target which I think it's pretty much GraphDB default.

Thanks for the quick response, I will open a separate issue for group color assignment

@danielcaldas
Copy link
Owner

Fixed with #42 and will soon be released in react-d3-graph@1.0.0

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

No branches or pull requests

2 participants