add writegraph_NEW.vi