@staticmethod
    def strip_layout(layout_str):
        return '\n'.join([line.strip() for line in layout_str.split('\n')]).strip()
Collapse the given set of nodes into a single
dataset/ETHPy150Open ASPP/pelita/pelita/layout.py/Layout.strip_layout--crossover with--dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/depgraph.py/collapse_nodes