Left click the function block you want to set the visibility of inputs and outputs at. In the Properties panel, the list of values is displayed, together with their values and visibility data.