You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RandomElementNode selects a random element from a collection or dictionary. It supports both lists and dictionaries, returning either a single random value or, for dictionaries, the corresponding key-value pair.
Input Ports
enter : The Control Input triggered when you want to select a random element.
collection : The collection or list to query, e.g., IEnumerable or IDictionary.
Output Ports
exit : The Control Output triggered when the random selection is complete.
value : The randomly selected value from the collection.
key : (Optional) The randomly selected key from a dictionary if the node is configured as Dictionary.