edit readGraph