Getting 'Unknown Panel type' exception on diagram/palette load

Hello! Here is the error message

Unknown Panel type as an argument to GraphObject.make: Flow. If building from source, you may need to call Panel.definePanelLayout.

It happens once in a while, in a random manner.
I suspect that it happens when somehow file that has Flow panel extension definition, wasn’t loaded in time before loading the diagram. WDYT?


Can’t you force the files to be loaded in the required order?

Now I’m confident it was an issue of loading extension file. I’ve added it to be loaded when it needed explicitly, previously it was loaded as part of lazyloaded bundle.
Thanks Walter