void OnDestroy()
 {
     graphEditor.OnDestroy();
     graphEditor = null;
 }