Move an instance of mxGraph and its parent to addMockGraph()