flow rectangle