add graphs dependency of error against the number of nodes