generate-book-graph-structure