This forms a flat plane of splitting in the rock called foliation. Blueschist has this rock structure formed by high pressure, but relatively low temperature. Iron-rich rock from deep in the earth can be changed by addition of hot fluids to form slick, green serpentine, the California State Rock . Deeper burial and higher temperatures will eventually melt rock. The cycle returns to magma.
Rocks can take short-cuts in the cycle also.
Igneous rock can become changed directly by directed pressure and burial to become metamorphic rock. Uplift of the land and erosion of deeply buried rocks can cause metamorphic rocks to directly change into sedimentary rocks. This same uplift can cause sedimentary rocks to become recycled. During the process of uplift and erosion, mountains can be built as we can see in the Coast Ranges today. This is a gap in the geologic record.