@Tany wrote:
Hi,
Basically my application does not use auto layout.
Yet, there are some use cases in my application where i need to use auto layout but immediately return to NON auto layout.
I have tried to diagram "LayoutCompleted" lister and in this listener i call the layout.isOngoing = false;
So, when i call the auto layout by setting the diagram.layout, the auto layout does occur and at the end of it GOJS call the LayoutCompleted listener, but this method affects other GOJS functionality such as when hiding/showing the diagram div.
The diagram does not refresh since it is isOnGoing=false.
So, i can use auto layout and as soon as layout completed, return to "NO" layout state .
Regards,
Tany
Posts: 8
Participants: 2