graph modified