liusida / StoneSoup

StoneSoup is an open-source, flexible platform for AI workflows and experimentation. It focuses on plugin-centric development and extensibility, enabling users to easily test various methods and parameters in their AI projects.
MIT License
5 stars 1 forks source link

ForLoop (Flow Control) nodes from Unreal Engine (good designs) #2

Closed liusida closed 3 months ago

liusida commented 3 months ago

https://dev.epicgames.com/documentation/en-us/unreal-engine/flow-control-in-unreal-engine

image

image

image

I wonder how does this node know the end of the loop body was reached and fire another round of execution...

liusida commented 3 months ago

Also can take a look at this project:

https://github.com/Vahera/godot-orchestrator/blob/main/src/script/nodes/flow_control/for.cpp

liusida commented 3 months ago

image

The UI design is like this. But I still don't have any idea about how to implement it.

liusida commented 3 months ago

Too make things easier to implement, I've added a Next node...

workflow (9)

@cd0304

liusida commented 3 months ago

Break is not working for now. (I saw ForLoop with Break in UE5)

liusida commented 3 months ago

I think we don't need break, since the user can simply choose not to go to the next node, and leave the loop behind.

liusida commented 3 months ago

ok. I think that's it.