class NavGraph extends NavDestination implements Iterable<NavDestination> {

    public void clear() {
        Iterator<NavDestination> iterator = iterator();
        while (iterator.hasNext()) {
            iterator.next();
            iterator.remove();
        }
    }

    public  NavGraph(@NonNull NavigatorProvider navigatorProvider);
    public  NavGraph(@NonNull Navigator<? extends NavGraph> navGraphNavigator);

}