Very simple python code for creating SVG state graphs