add SVG graph support