Adding the hostgraph generator.  Quite ugly, but works.  Will clean up soon.