public void Configure(EditorWindow window, StrategyGraphView graphView) { _window = window; _graphView = graphView; //Transparent 1px indentation icon as a hack _indentationIcon = new Texture2D(1, 1); _indentationIcon.SetPixel(0, 0, new Color(0, 0, 0, 0)); _indentationIcon.Apply(); }
internal void OnInit(Strategy strategy, string path) { this.strategy = strategy; assetPath = path; graphView = new StrategyGraphView(strategy, path); graphView.StretchToParentSize(); rootVisualElement.Add(graphView); CreateMiniMap(); graphView.AddSearchWindow(this); }