private void InitGraph(Graph graph) { graphGUI = GraphGUI.CreateInstance <UnityEditorGrapGUI>(); graphGUI.graph = graph; graphGUI.drawSelectionRectCallback += CallBack; DefultNode(); }