Fixed some errors in the graph_viewer.py