Update hsr2graph.py