protected override void Initialize(BaseGraph graph) { titleContent = new GUIContent("Prana"); var graphView = new CustomContextMenuGraphView(); rootView.Add(graphView); graphView.Add(new PranaToolbarView(graphView)); }
protected override void InitializeWindow(BaseGraph graph) { titleContent = new GUIContent("Context Menu Graph"); var graphView = new CustomContextMenuGraphView(this); rootView.Add(graphView); graphView.Add(new MiniMapView(graphView)); }
protected override void Initialize(BaseGraph graph) { titleContent = new GUIContent("Context Menu Graph"); var graphView = new CustomContextMenuGraphView(); rootView.Add(graphView); graphView.Add(new MiniMapView(graphView)); // graphView.AddElement(new NodeSelectorMenu()); }