We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Good evening, I have the following setting for my Network Graph:
const exceptionsGraph = { nodes: graph, edges: edges } // Graph Options const options = { height: "80%", width: "100%", nodes: { shape: "dot", size: 16 }, layout: { hierarchical: false }, physics: { forceAtlas2Based: { gravitationalConstant: -26, centralGravity: 0.005, springLength: 230, springConstant: 0.18, }, maxVelocity: 146, solver: "forceAtlas2Based", timestep: 0.35, stabilization: { enabled: true, iterations: 2000, updateInterval: 25, }, }, edges: { color: "#abb4be" } }
And then I call it like this:
<Graph graph={exceptionsGraph} options={options} /> But when it renders it's all zoomed in, so it looks terrible. Like this:
<Graph graph={exceptionsGraph} options={options} />
And I want it to look like this:
How can I achieve this on React?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Have you tried calling the fit() method from the network reference?
Sorry, something went wrong.
This should work indeed
No branches or pull requests
Good evening, I have the following setting for my Network Graph:
And then I call it like this:
<Graph graph={exceptionsGraph} options={options} />
But when it renders it's all zoomed in, so it looks terrible. Like this:
And I want it to look like this:
How can I achieve this on React?
Thanks in advance
The text was updated successfully, but these errors were encountered: