edemaine / svgtiler

Tool for drawing diagrams on a grid, combining grids of SVGs into a big SVG figure
MIT License
61 stars 6 forks source link

Consistent version numbering for symbols #53

Open edemaine opened 5 years ago

edemaine commented 5 years ago

Let's use a fast hash function like xxHash32 to generate version numbers for dynamic symbols, so that diffs on generated SVG are simplified. Related to #50 and #45.

Meanwhile, I've reset the numbering system every time we advance to another file, so at least it doesn't matter how many files/sheets you specify on the command line.