GNOME Bugzilla – Bug 316591
Graphical diagram diff
Last modified: 2019-03-20 11:21:55 UTC
Distribution/Version: Debian A Debian user asked for the following: ======================================================================== I am using dia to create uml diagrams of my projects. Before I am creating a new version of a program, I take the old uml diagram and make changes for the next version. It would be interesting to highlight only the difference from a version to another. ======================================================================== I don't know how this should be implemented, since there are already different colors and highlighting facilities present in Dia. Maybe a special view for diffs? See also http://bugs.debian.org/328108
An interesting idea, but not trivial. Examining the XML file could give you the elements that have changed, which you could then create a new XML file with a diff layer from. That may be easier than implementing it in Dia itself.
When I needed graphical diff I have exported both files to PNG and created the diff with GIMP's layer effects. Maybe there is something similar possible now with cairo's drawing modes [ http://cairographics.org/operators/ ]. The basic idea is introducing layer modes/effects and let cairo do the hard work. I didn't find a substract operator, though.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/152.