Skip to content

[Node Graph] Freeze or slowness after clicking on toolbar settings (AND various maybe related errors)

Summary

When we are on a graph, some options in the toolbar make the navigation very slow or freeze the browser for seconds or more. These options are:

  • Edge Weight
  • Edge Confluence Weight
  • Node Size

Changing "Edge Weight" takes seconds or more before the animation begins.
By the way, clicking on Edge Weight gives this kind of error in console.log:

image

Is this related to our problem?

About "Edge Confluence Weight" and Node Size", the problem seems to be less pronounced, but slower than before (maybe than the last Sigma upgrade?).

Steps to reproduce

Open a graph and wait for the "play" animation.
Then, move the "Edge Weight" slider and click on "Play".
The page seems to be frozen for seconds or more before the graph start to be animated.

What is the current bug behavior?

Freeze or slowness clicking on Play after we have changed some options like Edge Weight.

What is the expected correct behavior?

The start-up animation after clicking on settings should be faster.

Relevant logs and/or screenshots

Possible fixes