Update visgraph.py