I am trying to parse the d attribute in an SVG Path element, and so far I have found that fabric.js can parse SVG, but so far I still don't know how to do this.
I need to analyze the path in order to get figures (arcs of lines) in it and draw squares above them and, most importantly, return the attributes of these squares.
any idea how to do this using fabric.js ?? or any other library? or does anyone have a different approach?
The following image has a rectangle, and the line has squares that I painted on their borders, and I'm trying to do the same on a path element 
source share