graph.py debug