def create_maze(layout_mesh):
    maze = Maze(layout_mesh.width, layout_mesh.height)
    food = []
    for pos, items in layout_mesh.items():
        if Wall in items:
            maze[pos] = True
        if Food in items:
            food.append(pos)
    return maze, food
Returns the default UI editor for the trait.
dataset/ETHPy150Open ASPP/pelita/pelita/datamodel.py/create_maze--crossover with--dataset/ETHPy150Open enthought/traits/traits/trait_types.py/BaseTuple.create_editor