The transition from Type I to Type II migration

Note how the gap appears, though there are still gaseous filaments of the disc that feed the planet, contributing to its growth. As the gap opens the migration changes from Type I (no gap) to Type II (gap).