fixes #5 - throws error if graph type does not exist
fixes #3 - added README