Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Network - huge network does performance go down #2900

Closed
JMGonzalezR opened this issue Mar 24, 2017 · 5 comments
Closed

Network - huge network does performance go down #2900

JMGonzalezR opened this issue Mar 24, 2017 · 5 comments

Comments

@JMGonzalezR
Copy link

JMGonzalezR commented Mar 24, 2017

Hi, im working with a huge data and i want to make a tree with that, but the performance go down, arround 10 mins to show the data and take a lot to zoom in.

So what is the limit for total number of nodes, to have it with a great performance ?

@wimrijnders
Copy link
Contributor

I've recently looked at #2906, which is a similar question.

The performance of rendering the layout is best when any of the following conditions holds:

  • The network consists of < 100 nodes
  • The networks consists of clusters of nodes, where the cluster are connected to each other by a single edge
  • More than half of the nodes have the xy-coordinates pre-configured

In these cases, you can use options layout.improvedLayout: true to get a better rendering.

For zooming, I am not aware of any option to improve this. I have the suspicion that disabling the physics module with physics.enabled: false might improve the performance, but this is an informed guess only.

It might be worthwhile to play around with the physicsConfiguration example, to see if a combination of physics options gives you a better performance.

@wimrijnders
Copy link
Contributor

You might also consider setting a value for option physics.stabilization.iterations.

Based on experience with #2906, this reduces the initial rendering from minutes to seconds, at the expense of having a blank view during that time on initialization.

@JMGonzalezR
Copy link
Author

Thanks a lot, that works a little bit, in my team decide to use the 3dgraph instead, it can handler huge data and is pretty nice.

@wimrijnders
Copy link
Contributor

👍 Glad your team has found a solution that works for them.

@shangxinbo
Copy link

I have tried various physics configuration item combinations. In my test, I got a best option for me to display huge data

{
impovedLayout: true,
physics: {
  stabilization: {
     iterations:100
  },
  timestep:1
}

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

No branches or pull requests

5 participants