public static GraphSaveUtility GetInstance(FRPGraphView targetGraphView) { return(new GraphSaveUtility { _targetGraphView = targetGraphView }); }
public void Init(EditorWindow window, FRPGraphView graphView) { _window = window; _graphView = graphView; _indentationIcon = new Texture2D(1, 1); _indentationIcon.SetPixel(0, 0, new Color(0, 0, 0, 0)); _indentationIcon.Apply(); }
private void ConstructGraphView() { _graphView = new FRPGraphView(this) { name = "FRP Graph" }; _graphView.StretchToParentSize(); rootVisualElement.Add(_graphView); }