implement graph save routine
transfer graph save to graph.w and invoke the proper function that does the thing