Network-based investigation of turbulent mixing in an inhomogeneous flow