The diagram `layout` method returns immediately while the layout process is on-going in the background.
It would be nice to have some way of knowing when the layout is finished, so I can show the user a "waiting" or "working" indication in the meanwhile.
I couldn't find any `onLayoutFinished` in the API docs. Is there a way to know if the layout has finished processing?
Thank you.