upload graph

see comments in discussion document