feat(web): 注释节点

This commit is contained in:
zhaoying
2026-03-09 17:30:43 +08:00
parent 00e0201bf9
commit 33d12c43b2
11 changed files with 857 additions and 13 deletions

View File

@@ -38,7 +38,8 @@ const Workflow = forwardRef<WorkflowRef>((_props, ref) => {
parseEvent,
handleSave,
chatVariables,
setChatVariables
setChatVariables,
handleAddNotes
} = useWorkflowGraph({ containerRef, miniMapRef });
const onDragOver = (event: React.DragEvent) => {
@@ -95,6 +96,7 @@ const Workflow = forwardRef<WorkflowRef>((_props, ref) => {
canRedo={canRedo}
onUndo={onUndo}
onRedo={onRedo}
addNotes={handleAddNotes}
/>
</div>