modify output of graph.py
merge