When you overfill the gas tank, raw gas gets sucked into tube "A" in the diagram, then it gets into your Evap system.
Then it gets sucked through the Evaporative Gas Check Valve (two-way) as a liquid.
Then it fills up your air filter, then goes through the CDCV it's on it's way to the...