The SVG Micro Document Object Model (uDOM) provides from any SVG graphical object. :
See The Document Object Model W3C API Interface (DOM)