NavigationGraph
A named group of Navigatable destinations and optional nested sub-graphs.
Graphs form the structural backbone of the navigation hierarchy. Each graph has a unique route (its "graph ID"), a list of owned navigatables, and optional nestedGraphs. Guards and entry-point overrides are attached at the graph level via interceptDefinition and entryDefinition.
Use the createNavigationModule { graph(...) { ... } } DSL rather than implementing this interface directly.
See also
Inheritors
Properties
Dynamic entry-point resolver; overrides startDestination when present.
Guard evaluated before entering any route within this graph.
Optional shared layout wrapper applied to every screen inside this graph.
Intercept definitions for navigatables registered directly inside an intercept { } block rather than inside a nested named graph. These navigatables land in the parent graph's navigatables list but must still be guarded by the intercept.
Direct children of this graph.
Sub-graphs owned by this graph.
The default destination shown when navigating to this graph without a specific target.
Functions
Returns the graph that directly owns a navigatable with the given route, searching recursively through nestedGraphs.
Returns the nested graph with the given graphId, searching recursively.
Returns a flat map of route → Navigatable for this graph and all nested graphs.
Resolves the initial Navigatable for this graph, following StartDestination.GraphReference chains through graphDefinitions.