Hi,
I have a problem with many, many nodes. At the moment I have a NodeSource that contains 15427 Nodes and the performance is really, really bad. Even the load is over over 1 minute.
These 15427 have a property called visible and indeed there are only < 350 nodes which are visible at one time. So I had the idea to have a collection of all nodes and filter this collection for visible nodes only to make a new nodesource for the diagram. If I just load the 15427 nodes in a standalone ObservableCollection it takes only 2.7 seconds (of cause - because not wpf-control/node is created).
But then I need something like OnNodeAdded and OnNodeRemoved to manage my “all nodes collection” in the background (this should work with create by dragging and create by paste).
Is there a tool or event I can use?