change of graph structure