Support exportSVG for treePath nodes