@property<EOL><INDENT>def splits(self):<DEDENT>
result = []<EOL>def collect(split):<EOL><INDENT>result.append(split)<EOL>for item in split:<EOL><INDENT>if isinstance(item, (HSplit, VSplit)):<EOL><INDENT>collect(item)<EOL><DEDENT><DEDENT><DEDENT>collect(self.root)<EOL>return result<EOL>
Return a list with all HSplit/VSplit instances.