graph
write graph