Moved graph code to argsgraph.py