graph colour modified