Diagram links break

We are using Layered diagram layout. We are facing issue that on rendering diagram there is a fluctuation in diagram rendering.
As a result the links and node position breaks. As seen in diagram below:

Can you please provide a direction in which we should do our analysis and determine root cause.

Could you help us reproduce the problem? Can we debug your app?

What happened just before you see those results?