The transformations of graphs