Convert SVG files for adding to Dia library
Dia is an open-source diagram editor.
It supports SVG pictograms.
svg-to-dia converts ordinary SVG in the format supported by Dia.
Prepare files:
svg-to-dia --name my-shapes my-file1.svg my-file2.svg my-file3.svg
the above command will create a sheets/ and a shapes/ folders.
Move the generated files to dia’s folder
mv sheets/* ~/.dia/sheets
mv shapes/* ~/.dia/shapes
Don’t forget to restart dia
.sheet
files to add human-readable descriptions (multiple languages if you can).shape
files to add better coordinates of attachment pointssvg-to-dia is released in the public domain, see UNLICENSE file.