@staticmethod
    def layout_shape(layout_str):
        return (layout_str.find('\n'), len(layout_str.split('\n')))
Determine shape of layout.
dataset/ETHPy150Open ASPP/pelita/pelita/layout.py/Layout.layout_shape