cytoscape/cytoscape.js-euler

maxSimulationTime ignored

Closed this issue · 0 comments

I set maxSimulationTime to 2000 ms but the layout still takes 10 seconds, does euler ignore this attribute or is there something wrong with my configuration?

var config =
{
  name: "euler",
  springLength: edge => 200,
  maxSimulationTime: 2000,
  randomize: true,
  fit:false,
  mass: node => 40,
};

  activeLayout = cy.elements(":visible").layout(config);
  activeLayout.run();