1. the layout is stored in one of the configuration files that you can find in The Divinity Engine 2\DefEd\Config (I don't know its name by heart)
2. You have to regenerate the AI grid first: https://docs.larian.game/AI_grid_panel#The_Generate_Tab (make sure you also have an AI seeder trigger on every separated chunk of reachable AI-grid, like platforms)