some kind of graph generator