Doors and Rooms
"/home/yossef/notes/git/projects/maplibra/modules/Doors and Rooms.md"
path: maplibra/modules/Doors and Rooms.md
- **fileName**: Doors and Rooms
- **Created on**: 2026-06-16 00:48:42
Doors and Rooms
Purpose: How rooms and doors constrain indoor graph connectivity.
Related: ../Home.md, ./Pathfinding.md, ../flows/Wall Detection.md, ./Snapping.md, ../decisions/Large Room Strict Exit Heuristic.md
Key Files
src/pathfinding/doors.js— door feature extraction and room intersection helpers.src/pathfinding/rooms.js— room polygon resolution and containment checks.src/app/zip-node-builder.js— injects door bridge nodes during derived graph generation.
Door Bridge Nodes
Door bridge nodes are synthetic nodes placed near door geometry. They help connect room and corridor graph components through doors while wall/object blocker checks still prevent crossing walls away from doors.
Room-Aware Snapping
See ./Snapping.md for room-aware snapping behavior (strict room exit, large room heuristic, allowTrim).
continue:[[]]
before:[[]]