def METHOD_NAME(self, all_windows: WindowList) -> Generator[BorderLine, None, None]:
    window_count = all_windows.num_groups
    if window_count < 2 or not lgd.draw_minimal_borders:
        return
    yield from borders(self.generate_layout_data(all_windows), self.main_is_horizontal, all_windows)