which frame number to flatten (0 is the top level)
one single, flattened FOLD frame (with no file_frames)
Frames can be children of other frames via. the frame_parent and frame_inherit properties potentially creating a recursive inheritance. This method will "flatten" a frame by gathering all of its inherited parent frames and collapsing the stack into one single frame. The input graph itself will not be modified.
a FOLD object