The diagrams show what happens when P waves and S waves pass through the Earth. S waves do not pass through the Earth's core S waves cannot pass through the liquid outer core, but P waves can.
From the diagram, we can see the region where S waves are not detected. Geologists have been able to calculate the size of the liquid core from these measurements.