`buildDepthMap` in `src/integrations/miro/layout.ts` is currently marked DEPRECATED with a note about migration to the render plugin + SpaceGraph architecture. The function is still actively used by `layoutNewCards` → `miro/sync.ts`, so the comment is misleading.
Once miro sync is migrated to a render plugin (using `SpaceGraph` for traversal), `buildDepthMap` can be removed. Until then, the DEPRECATED comment should be dropped.
Acceptance criteria:
- Migrate `miro/sync` to implement a `RenderHook` using `SpaceGraph`
- Remove `buildDepthMap` (its logic is subsumed by `SpaceGraph.levels`)
`buildDepthMap` in `src/integrations/miro/layout.ts` is currently marked DEPRECATED with a note about migration to the render plugin + SpaceGraph architecture. The function is still actively used by `layoutNewCards` → `miro/sync.ts`, so the comment is misleading.
Once miro sync is migrated to a render plugin (using `SpaceGraph` for traversal), `buildDepthMap` can be removed. Until then, the DEPRECATED comment should be dropped.
Acceptance criteria: