Added mngraph.py.