-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wish: Switch/Case node #290
Comments
We will need to put some thought into how the UX for a switch/case node would work. Ideally, it would work something like Scheme's |
Maybe this could actually be done by using two nodes: a switch node (with an expandable number of case inputs and a result output) and a case node (with a test and result input and a case output)? Plus, I think there would have to be a default result or else input in the switch node that catches everything that's not defined in the individual cases. |
Updated LibraryUtilities.ts and LayoutSpecs.json
Instead of nesting several IF nodes, it would be great to have an expandable switch/case node that could accomodate a arbitrary number of cases. The interface might work like the List node where we can add and remove items by clicking on +/-.
The text was updated successfully, but these errors were encountered: