arbor.js - Cytoscape.js how to manually stop layout processing -


I am using cytoscape.js with arbor layout. Is there a way to manually prevent layout rendering? In the document I had seen a 'layoutstop' event but there was actually no way to stop the layout.

Thank you

Here is the information that if someone is interested then I I work around the problem: I just put a global stop_layout version in the stable stability function. Ugly but it works yay!

  var stop_layout = false; Layout_param = {name: 'arbor', static energy: function (energy) {var e = energy; Return (EMX & lt; = 0.5) || (E. Pisces & lt; = 0.3) || Stop_layout; }}; // Change stop_layout value when you want to run or stop layout processing  

Comments