Progress bar in the add nodes operation

I have 2000 nodes that I am including into model during a simple operation.

How to show a progress bar for this operation?

Thx for any help.

There is no built-in way to show a progress bar for such an operation, though if you wanted to add them in batches of ~200 or ~500 you could do it yourself, updating the bar between each batch.

We do have an example of a “loading…” node in the virtualized tree sample, which is displayed while the diagram is initializing. You could do something like that using Diagram.delayInitialization (see the sample’s source code for example usage).

Ok. Thanks for your reply.