Wondering, is there a CL command to hide folders in a graph?

I want to hide folders using CL rather than individual parts. Is this possible?

CL is for an activity. And if you were to put the graph in an activity, there is a way to hide the folders there.

Screen Shot 2022-11-12 at 6.53.35 PM|690x333