Change graph state.