generate graph document first attempt
this is what you wanted
add note that this is just an example script
I got it to work
Merge branch 'kees_first_loop_graph'