drawio icon indicating copy to clipboard operation
drawio copied to clipboard

XML format for better version control

Open tigerinus opened this issue 3 years ago • 3 comments

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe. I version control all *.drawio.xml in git. What frustrates me is that just saving without changing anything the modified attribute in XML is changed, and subsequently causes a change in local git.

Describe the solution you'd like It'd be nice to provide an option to strip information like modified out of the XML file to be version controlled.

Describe alternatives you've considered Manually removing the attribute, but it's tedious.

Additional context If you open a code in IDE, saving without changing anything wouldn't cause a change in git.

tigerinus avatar Apr 22 '22 16:04 tigerinus

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.

stale[bot] avatar Mar 25 '23 15:03 stale[bot]

It would be great to make the format more git-friendly.

cameel avatar Mar 28 '23 14:03 cameel

Another issue is that the XML attributes parent and vertex are sometimes swapping places, causing unnecessary changes and added noise: image

JeroenOortwijn avatar Nov 08 '23 09:11 JeroenOortwijn

24.7.4

davidjgraph avatar Jul 25 '24 13:07 davidjgraph