Node Builder

Path Parser and Custom Handlers

Path Parser is a SAX-like parser for SVG path element path data. This JavaScript object allows you to associate custom handlers with the path data parser to allow processing of the path data during the parse.

Examples include a simple handler that can be used as a starting point for your own path parser handlers, a handler that decorates a path element showing the path's control points and handles, a handler that converts all path commands to cubic Bézier commands, and conversion of two path elements so you can animate from one to the other.