I am searching for the most optimal way to compare svg files that come as an output of SpecFlow tests of the C# project I am working on. The goal is that after implemented functionality I can compare all files created before and after and pinpoint the parts of svg that were changed, or make sure that files remained the same. Note that there are some hidden objects rendered, so pixel-by-pixel comparison of the files would not work.
Is there any existing tool where I can upload two files (before and after changes and have both of the images displayed, but also see the changes in the xml structure?
Is there any existing library for C# that does this, so I can implement automatic regression tests (in case I would like that output remains the same)?