Suppose a spacecraft is on an interplanetary Hohmann transfer trajectory from an inner planet to an outer planet. When the spacecraft finally enters the target planet's sphere of influence, which direction does it typically enter from? From behind the target planet's orbit (i.e. the spacecraft flies into the SOI) or ahead of it (i.e. the planet's SOI moves into the spacecraft's orbit? To clarify, this is a question about the relative motion of the frames of reference of the target planet and the spacecraft, not about which side of the planet the spacecraft ends up in.
I'm developing a simulation of such a transfer trajectory and I just want to know which direction I should expect to see the two meet for debugging purposes only. For simplicity, we can assume the planets and the Hohmann transfer are coplanar.