SVGFlatDocument
ES6 SVG document without tree (flat)
Install
npm install svg-flat-document
Usage
Parse from SVG string
; let doc = SVGFlatDocument;
With svgString =
Retreive element
let node = docmappingme;let attr = nodeattributes; console;// 0 0 100 200 console;// matrix(1,0,0,1,100,0)
So groups are ignored and children absorb every parents transforms.