Made graphs consistent