1
Vote

Incorrect handling of rapid add/remove edge/vertex mutations

description

If my code adds and then removes (or removes then adds) an edge (or vertex) in rapid succession (in the same Windows message pump cycle), GraphSharp gets confused as the edge is added to _edgesAdded and _edgesRemoved, with the result that the visualized graph no longer correctly reflects the underlying graph after the mutations are processed.

I have attached a patch which fixes this problem.

file attachments

comments