continued GraphGenerator class