Process flow diagram, the flow is jiggling

Hi,

I want to have a diagram that can show flows are moving, however, somehow the moving is not smooth but jiggling or lagging. I can see even your sample diagram here is jiggling as well. https://gojs.net/latest/samples/processFlow.html

But I remember previously the sample that you provide on the your website was moving smoothly. Is it the versioning problem?

I use the below function to move the flow.

  function loop() {
    var diagram = myDiagram;
    setTimeout(function() {
      var oldskips = diagram.skipsUndoManager;
      diagram.skipsUndoManager = true;
      diagram.links.each(function(link) {
          var shape = link.findObject("PIPE");
          var off = shape.strokeDashOffset - 2;
          shape.strokeDashOffset = (off <= 0) ? 20 : off;
        });
      diagram.skipsUndoManager = oldskips;
      loop();
    }, 100);
  }

Thanks,
Kakit

You’re right, that is a regression with the sample. We’ll look into it, thanks for pointing it out.

This has been fixed in the latest release, 1.6.16:

https://gojs.net/latest/samples/processFlow.html

Thanks for pointing it out.