A few years ago I wrote a graphing application in Java. It stored edges and vertices in a QuadTree which I would loop through whenever I had to draw them.
Today I need to do something similar in WPF, however, I noticed that I have to add elements to a Children list inside a panel in order for it to draw. This is inefficient since now I am effectively storing two versions of the data. Removing elements is also costly compared to using quadtrees.
Are there any better ways of implementing this without having to use the Children List?