You can hide and show input parameters based on a condition using Visibility Expressions (VisEx). Here’s an article from our documentation on VisEx: Visibility Expressions | InstaMAT Documentation
To use an enum, you can use a visibility expression such as case == 0 which will make the parameter visible if the first option in the enum is selected. 0 is the first option in the enum, 1 is the second option, and so on…
There a quick example of this on our YouTube channel in our getting started video for Atom Graphs at the timecode 21:29.