Throw exception if Graph is empty.
No longer need to specify the graph to the Builders for IO.