Relaxation progress indicator

You can use the CarrotSearchFoamTree.relaxationProgress utility to show the progress of visualization layout computation. You will need to pass a reference to the HTML element to be used as the progress indicator. The utility will vary the width of the element from 0% to 100% to reflect the relaxation progress.

Observe that the relaxation progress is not always monotonous, the progress bar can retract several times, but it should finally reach 100%. Currently, relaxation progress is only reported when relaxation is made visible by setting the relaxationVisible option to true.


Load data set: tiny | small | large | unbalanced
Maximum relaxation duration: 60s | 10s | 3s.

What's in the code?