Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

347
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda