NavigatorsHolder
App-wide lookup table of NavigationControllers by navigatorId — lets Navigate/NavigateUp/ NavigateClearingStack trigger navigation on any registered backstack by name, from any event chain, without the backstack itself (which only really exists near the top of the Compose tree) being threaded down as a parameter. A single Koin single. MosaicApplication registers the app's own root backstack under the conventional id "root"; a custom container tile hosting its own nested navigation graph (the way NestedNavigationGraph does) registers its own backstack the same way, under whatever navigatorId the DSL author chose for it.
Functions
Looks up the NavigationController registered under navigatorId.
Registers navigationController under navigatorId, so Navigate/NavigateUp/ NavigateClearingStack events targeting that id can find it. Overwrites any controller previously registered under the same id.
Removes whatever NavigationController is registered under navigatorId, if any — called when the owning backstack (a NestedNavigationGraph tile, or the app root) leaves composition, so navigation events targeting it correctly fail afterward instead of reaching a stale controller.