@ -385,6 +385,7 @@ const FlowEditorMain: React.FC<FlowEditorMainProps> = (props) => {
edgeTypes={edgeTypes}
snapToGrid={true}
snapGrid={[2, 2]}
proOptions={{ hideAttribution: true }} // 隐藏水印
nodesConnectable={!currentAppIsRunning} // 运行时禁用节点连接
nodesDraggable={!currentAppIsRunning} // 运行时禁用节点拖拽
elementsSelectable={!currentAppIsRunning} // 运行时禁用元素选择