I had swelling in my legs too 2 days after surgery. I also had numbness in one of my legs and was so afraid I had a blood clot. I was told mnot to worry that the swelling in my legs were water retenion and that the numbness in my leg was probably due to the positioning during my surgery. 2 days later the swelling and numbness was gone. The bloating is to be expected. I am 2 weeks post surgery and still feel bloated. My sugesstion is not to eat anything heavy for a while. I did and I'm paying for it now. I am so bloated all the time and now the food just sits on my stomach causing a lot of pain and I'm not getting much of it out. Bowel movements are painful and few. But don't worry about the swelling. it wil go away soon.
This sounds like water retention. It could be something else though. Give your Dr a call as soon as you can to find out what's going on. You should not be having the bloating and swelling.