Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
It seems that if a node id is 0, then any links that should point to 0 instead point to an [Object object].
Here's a minimal example
and the resulting graph is shown below. It looks like one end of the link is never updated, even though the location of the 0 node is updated.
By changing the first node to have id 999, the graph renders correctly.
Hey thanks for reporting, this is actually a bug, the problem is that react-d3-graph is currently supporting both data types as ids (not the best decision IMHO) you can have the type