nodes and edges moved to graph