However , unlike canvas , which is raster - based , SVG is vector - based .
Each drawn shape is remembered as an object in a scene graph or Document Object Model .
However , unlike canvas , which is raster - based , SVG is vector - based , so that each drawn shape is remembered as an object in a scene graph or Document Object Model .