Constructing graphs can be quite complex.