I'm using NodeNetwork 3.1.0 nuget. In my project creating of 80 nodes takes ~10sec. But Creating 80 nodes + 107 connections takes ~1m 10 sec.

The timeline profiler in Rider shows the next picture

I guess the reason is events which are raised by creating of connections, but i can't figure out how to avoid that. I have subscriptions on input value changed, on input connection changed. On these events I update data inside of node. I thought that networkViewModel.SuppressChangeNotifications(); helps, but it doesn't. Also in profiler picture I can see that Graph Validator's Find Loops takes ~5 sec, I guess I can turned it off while scene is loading.
I'm using NodeNetwork 3.1.0 nuget. In my project creating of 80 nodes takes ~10sec. But Creating 80 nodes + 107 connections takes ~1m 10 sec.
The timeline profiler in Rider shows the next picture
I guess the reason is events which are raised by creating of connections, but i can't figure out how to avoid that. I have subscriptions on input value changed, on input connection changed. On these events I update data inside of node. I thought that networkViewModel.SuppressChangeNotifications(); helps, but it doesn't. Also in profiler picture I can see that Graph Validator's Find Loops takes ~5 sec, I guess I can turned it off while scene is loading.