AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(builder): Added option to pan view to center agents on build screen (#7742)
lelcruz8131fc385b0d
diff --git a/rnd/autogpt_builder/src/components/Flow.tsx b/rnd/autogpt_builder/src/components/Flow.tsxindex 25c0bb0a0e..30b55564d6 100644--- a/rnd/autogpt_builder/src/components/Flow.tsx+++ b/rnd/autogpt_builder/src/components/Flow.tsx@@ -17,6 +17,7 @@ import ReactFlow, {Connection,EdgeTypes,MarkerType,+ Controls,} from "reactflow";import "reactflow/dist/style.css";import CustomNode, { CustomNodeData } from "./CustomNode";@@ -880,6 +881,7 @@ const FlowEditor: React.FC<{onNodeDragStart={onNodesChangeStart}onNodeDragStop={onNodesChangeEnd}>+ <Controls /><ControlPanel className="absolute z-10" controls={editorControls}><BlocksControl blocks={availableNodes} addBlock={addNode} /><SaveControl