I need to draw a high amount of 2D shapes (Rectangles, Triangles and lines in a WPF-Application. The picture shows roughly what i intend to do. There can be more than 200 000 graphical objects in such a szenario. In the worst case, when the user is completly scrolled out, i have to draw all those graphical objects.
Important for me is, that i can remove individual objects for example a specific line without having to redraw everything. Currently I´m using DrawingVisuals.
Is there a solution to do this in a faster way?