Hello, another bug report. 🙂 If the user has happened to have their canvas maximized and closed / opened unity, they’d see the “Please select graph” in a maximized canvas, with double click not doing anything. You can unmaximize via the unity way (window way) but having no double click can be confusing.
To fix, one must merely add the detection for double click + maximize flip in the GraphEditor.ShowEmptyGraphGUI function!
void ShowEmptyGraphGUI() { Â Â Â Â Â Â Â Â Â Â Â if ( targetOwner != null ) { Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â var text = string.Format(“The selected {0} does not have a {1} assigned.\n Please create or assign a new one in it’s inspector.”, targetOwner.GetType().Name, targetOwner.graphType.Name); Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ShowNotification(new GUIContent(text)); Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â return; Â Â Â Â Â Â Â Â Â Â Â } Â Â Â Â Â Â Â Â Â Â Â ShowNotification(new GUIContent(“Please select a GraphOwner GameObject or a Graph Asset.”));
           //Double click check            Event e = Event.current;            if (e.type == EventType.MouseDown && e.clickCount == 2 && e.button == 0)            {                current.maximized = !current.maximized;                e.Use();            }