Skip to content
Discussion options

You must be logged in to vote

This is the core concept:

A regular node usually has one outgoing edge and one return value. If you're creating a decision node, it typically has more than one outgoing edge. The run() and run_batch() methods of a decision node consist of a decision function that determines the path in the graph for sending the node's input. Such a function has more than one possible return value and each return value is named accordingly, for example: output_1 and output_2.

The following image can be useful for understanding this concept:

You can learn more about this topic in the docs: Nodes overview and Custom nodes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ZanSara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants