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
Correct, if you look closely to the documentation you will read this entry on staticGraph:
So if you do not provide initial values for nodes and links you will get a squeezed graph. Nevertheless, when I was confirming this behavior I found that props
PS. A simple temporal workaround would be to make the graph static only after you see that d3 calculated nodes and links positions.
@scoutrul react-d3-graph v0.3.0 fixes this problem https://github.com/danielcaldas/react-d3-graph/releases/tag/0.3.0, thanks for reporting