save graph as file.dot