Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

345
Views
How do you stop the nodes from wobbling into place in a vis js network graph?

When a network graph is normally rendered using the vis js network, when you have lots of nodes, the nodes move around like crazy before snapping into position and resting. Is there a setting to stop this from happening and only render the final position of the nodes once all the physics has taken place?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The option for this is named stabilization and the options can be seen in the documentation at https://visjs.github.io/vis-network/docs/network/physics.html. Once enabled you can configure the iterations dependent on the complexity, or leave it at the default of 1000.

var options = {
  physics: {
    stabilization: {
      enabled: true,
      iterations: 100
    }
  }
};

The best vis-network example of this is the 'loading bar' example here (jsfiddle) which has stabilization and uses the stabilizationProgress event to update a loading bar. Having a loading bar prevents displaying a blank canvas whilst nodes are stabilized.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!