├── .gitignore ├── .npmignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── assets ├── d3-save-svg.min.js ├── imported.css ├── linked.css └── test.png ├── index.html ├── index.js ├── package.json ├── src ├── convertRaster.js ├── d3-save-svg.js ├── download.js ├── namespaces.js ├── preprocess.js └── setInlineStyles.js └── test └── save-svg-test.js /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | build/ 3 | node_modules 4 | npm-debug.log 5 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | build/*.zip 2 | test/ 3 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/README.md -------------------------------------------------------------------------------- /assets/d3-save-svg.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/assets/d3-save-svg.min.js -------------------------------------------------------------------------------- /assets/imported.css: -------------------------------------------------------------------------------- 1 | .imported { 2 | fill: #f0f; 3 | } -------------------------------------------------------------------------------- /assets/linked.css: -------------------------------------------------------------------------------- 1 | .linked { 2 | fill: #f0f; 3 | } -------------------------------------------------------------------------------- /assets/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/assets/test.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/index.html -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/package.json -------------------------------------------------------------------------------- /src/convertRaster.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/src/convertRaster.js -------------------------------------------------------------------------------- /src/d3-save-svg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/src/d3-save-svg.js -------------------------------------------------------------------------------- /src/download.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/src/download.js -------------------------------------------------------------------------------- /src/namespaces.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/src/namespaces.js -------------------------------------------------------------------------------- /src/preprocess.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/src/preprocess.js -------------------------------------------------------------------------------- /src/setInlineStyles.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/src/setInlineStyles.js -------------------------------------------------------------------------------- /test/save-svg-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/edeno/d3-save-svg/HEAD/test/save-svg-test.js --------------------------------------------------------------------------------