Write to gv file