API - Batik library for example (http://xmlgraphics.apache.org/batik/)
Export/Import several graphical editors (Adobe Illustrator, Inkscape, OpenOffice/LibreOffice Draw, ...)
Manual creation and editing.