BasicGraph is now a subclass of Hash.