Switch Statements

Would it be possible to maybe have something like the loops but for switch cases, where you can click them and go into another “room” and place the logic in there. I find that they get really messy fast the more cases you have. Especially since the sections that have the case labels on them are not the same width as a normal node so if you have different logic for each case they get mushed together or wires crossing very easily.

EX:


image

Yeah, can definitely get a little out of control. Thanks for the feedback. We’ll think about potential solutions to this. You could use Custom Nodes to bundle up the logic underneath the switch statement. Especially useful if any of that logic can be reused across multiple workflows.

1 Like