Refractor SVG generation