A possibly working, but yet untested sample_graph generator...  Committing now before I #include the file into the project...